Anyone aware how to check whether Apple Maps is installed or not? I could not find anything in the docs.
With iOS10 users can delete the Apple Maps application. Whil
In the current version i.e. 11.2, it appears you are able to remove Apple Maps from your phone. But unfortunately, if you do something like:
if (UIApplication.shared.canOpenURL(URL(string: "maps://")!)) {
//do whatever you need to do here.
}
it still returns true.
But it does handle navigation gracefully anyway. In my case I am providing the user a chooser between Apple Maps and Google Maps. When Apple Maps is not present it provides me with this, IMHO, this is fine because the user is not navigated away from the app and can choose a different option if they want to: