Trying to set address of pin position to annotation subtitle if it == nil. But nothing happens.
if (myAnnotation.subtitle == nil)
[self.geoCoder reverseGeocodeLocation: locationManager.location completionHandler:
^(NSArray *placemarks, NSError *error) {
CLPlacemark *placemark = [placemarks objectAtIndex:0];
NSString *locatedAt = [[placemark.addressDictionary valueForKey:@"FormattedAddressLines"] componentsJoinedByString:@", "];
myAnnotation.subtitle = locatedAt;
}];
else {
myAnnotation.subtitle = [[ann objectAtIndex:i] objectForKey:@"Address"];
}