I'm just wondering if there is a way to print the contents of a structure through NSLog?
id <MKAnnotation> mp = [annotationView annotation]; MKCoordinateRegion region = MKCoordinateRegionMakeWithDistance([mp coordinate], 350, 350);
I am trying to display whats in [mp coordinate] for debugging.
.
EDIT_001:
I hacked it, well, if there is no other way.
CLLocationCoordinate2D location = [mp coordinate]; NSLog(@"LAT: %f LON: %f", location.latitude, location.longitude);
many thanks
Gary
objective-c iphone cocoa-touch
fuzzygoat
source share