-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hello,
I just converted the code to Swift 3 and unable to see the directions when clicking on the selected pin nor does the image of the car show up.
func getDirections(){
if let selectedPin = selectedPin {
let mapItem = MKMapItem(placemark: selectedPin)
let launchOptions = [MKLaunchOptionsDirectionsModeKey : MKLaunchOptionsDirectionsModeDriving]
mapItem.openInMapsWithLaunchOptions(launchOptions)
}
}
The func getDirections is in the Viewcontroller.swift but it doesn't show up on the simulator. Is there a way to get it to work?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
