Skip to content

Instantly share code, notes, and snippets.

@sbrocket
sbrocket / gist:1282818
Created October 12, 2011 22:17
updateLocations
- (void)updateLocations {
NSDictionary *metadata = viewControllerDelegate.stillPhotoMetadata;
[self updateLocationsWithMetadata:metadata];
}
- (void)updateLocationsWithMetadata:(NSDictionary *)metadata {
CLLocation *gpsLoc;
if (metadata != nil) {
NSString *latRef = [((NSDictionary *)[metadata objectForKey:@"{GPS}"]) valueForKey:@"LatitudeRef"];