How to send CLLocationCoordinate2D as a link

I'm trying to emulate "Share Location" in Maps by email features.

I have the latitude and longitude of my location, and currently I use it to display the location on the map through MKMapView.

I also have the functionality that makes up the letter from the application, and I would like to include the location in it, but I can’t figure out how to build the link using longitude and latitude.

I have seen other applications with applications with this functionality, so I know that this is possible.

Any help would be greatly appreciated.

Thanks in advance.

UPDATE:

The link should open Google Maps.

+1
email iphone location
source share
1 answer

Where should he refer? Your app or Google Maps? In the latter case, see the link to the Apple URL link . For the first, you must create your own URL scheme, and then create a string that matches your scheme.

+2
source share

All Articles