opening a native map application in xcode


NSString *stringURL = [NSString stringWithFormat:@”http://maps.google.com/maps?saddr=40.754458,-73.990302&daddr=40.7504610,-73.9910452″%5D;
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];

,

  1. Leave a comment

Leave a comment