So I’m wondering if people at Apple allows using links to Google maps in app. Or do they wan’t u to use Apple maps? I have link to google mpas like that:
NSString *maps=[NSString stringWithFormat:@"http://maps.google.com"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:maps]];
Can they make any problems about it?
Maps URL format of Apple documents. It looks like you can replace
maps.google.comwithmaps.apple.com.Important: In iOS 5.1 and earlier, the Map Kit framework uses the Google Mobile Maps (GMM) service to provide map data.
It turns out that the same is true in MobileSafari on
iOS 6;tapping a link tohttp://maps.apple.com?q=...opens the Maps app with that search, the same wayhttp://maps.google.com?q=...did on previous versions. I got curious and tried it and it worked, and then noticed that it’s explicitly confirmed in the page linked above.