Directions Mode Values

Strings representing the possible values of the MKLaunchOptionsDirectionsModeKey key.

Topics

Directions Keys

MKLaunchOptionsDirectionsModeDriving

Driving directions between the specified start and end points.

MKLaunchOptionsDirectionsModeWalking

Walking directions between the specified start and end points.

MKLaunchOptionsDirectionsModeTransit

Public transit directions between the specified start and end points.

MKLaunchOptionsDirectionsModeDefault

Directions that match the user’s preferred transportation type.

See Also

Opening Items at Launch Time

Launch Options Dictionary Keys

Launch options to specify when opening map items in the Maps app.