开发者

Launching the iPhone maps application from your own code

开发者 https://www.devze.com 2023-01-14 19:57 出处:网络
How to Launch the iPhone maps application from our own code [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@\"http://maps.google.com/maps\"]];

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消