Directions Mode Values

Strings representing the possible values of the MKLaunchOptionsDirectionsModeKey key.

Topics

Directions Keys

let MKLaunchOptionsDirectionsModeDriving: String

Driving directions between the specified start and end points.

let MKLaunchOptionsDirectionsModeWalking: String

Walking directions between the specified start and end points.

let MKLaunchOptionsDirectionsModeTransit: String

Public transit directions between the specified start and end points.

let MKLaunchOptionsDirectionsModeDefault: String

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.