Search code examples
iphoneiosipadmapsios-simulator

Google Maps on iOS Simulator?


I'm building an iOS app that I want to interact with the Native maps application that comes on iPhone & iPad. No maps application seems to be installed on either of the simulators.

How can I test this functionality on the iOS simulator?


When I let Google Maps website take over with the following url

http://maps.google.com/maps?ll=37.785834,-122.406417

This happens

enter image description here


Solution

  • As the documentation from Apple (link now dead) used to say:

    If the Maps application is not installed on the device, opening a map URL forwards the request to the Google Maps website.

    So you can test this in the simulator, but it will open in Safari instead.