I have latitude and longitude that I want to open into my map application. I tried this code from HERE.
func goToMap(){ var lat1 : NSString = self.v
I know all answers are complete but here I got an answer which is easier to copy paste & also gives the user options to routing with Apple Maps, Google Map & Waze.
Working with Swift 5+
https://stackoverflow.com/a/60930491/6449292
Might help someone...