Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle uninstalled Apple Maps #3

Open
kiliankoe opened this issue Apr 17, 2017 · 4 comments
Open

handle uninstalled Apple Maps #3

kiliankoe opened this issue Apr 17, 2017 · 4 comments
Labels

Comments

@kiliankoe
Copy link
Owner

kiliankoe commented Apr 17, 2017

Putting a wink emoji in the readme and not respecting the hint myself is some kind of next-level smug. isInstalled() short circuits to true if querying for Apple Maps. How can I check that though? UIApplication.shared.canOpenURL() seems to report true for maps:// and http://maps.apple.com/?q=[...] even if Maps.app is "removed" (as in disabled) from a user's device.

See 📡 rdar://31680034

@kiliankoe
Copy link
Owner Author

Apple commented on the radar and asked to test again w/ iOS 11. Interestingly enough the (beta) simulators don't allow the removal of the maps app anymore. Haven't tried it on device yet.

@pteasima
Copy link

pteasima commented Dec 6, 2019

Thanks for the awesome work!

Any progress on this? I can still remove Apple Maps on iOS13

@pteasima
Copy link

pteasima commented Dec 7, 2019

For anyone interested:

  • application.canOpenUrl(URL(string: "maps://")!) still returns true
  • when you actually try to open that url, theres a system alert asking you to redownload maps from the appstore (the open fails but user can retry once theyve downloaded maps)

@kiliankoe
Copy link
Owner Author

Hey @pteasima, thanks for the kind words and info!

But judging by your comments it seems iOS' behavior is still very much not ideal. At least there's a dialog 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants