Friday, 11 March 2011

How to link to Google Map directions from iPhone app by address

NSString* urlString = @"http://maps.google.com/maps?saddr=London+UK&daddr=Birmingham+UK";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: urlString]];

No comments:

Post a Comment