I would like to open Google Map App in iOS 6 programmatically. I tried to open the maps in by passing url - maps..... but it is still opening in the Safari
[[UIApplication sharedApplication] canOpenURL:
[NSURL URLWithString:@"comgooglemaps://"]];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:
@"comgooglemaps://?center=40.765819,-73.975866&zoom=14&views=traffic"]];
reference: https://developers.google.com/maps/documentation/ios/urlscheme
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With