Is it possible to format a location to share from my iOS app? I’m guessing it should be as simple as formatting it in a known way (like a URL) and the receiver would see it like a dropped pin.
I hope that’s a clear question.
Is it possible to format a location to share from my iOS app? I’m guessing it should be as simple as formatting it in a known way (like a URL) and the receiver would see it like a dropped pin.
I hope that’s a clear question.
The official Geo URI scheme is described here: https://en.wikipedia.org/wiki/Geo_URI_scheme
Unfortunately it is only supported on Android.
If you are sharing to another iPhone this format might be better:
http://maps.apple.com/maps?q=-8.012960,110.308998
Full Apple Maps link format: https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html
This is exactly what I was looking for.
Thank you.