How to Launch the iPhone maps application from our own code
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://maps.google.com/maps"]];
I tried this code,but its coming in browser.Its not opening in the iPhones Default map app... I w开发者_C百科ant my code to display the iPhone default map app to come up after existing the application which is being run.
use MKmapView to show map in Application instead of launching the Browser.
精彩评论