Instance Property


The type of conveyance to which the directions should apply.


var transportType: MKDirectionsTransportType { get set }


You can use this property to specify whether you want directions suited to a particular type of transportation. For example, you can use this to specify that you want walking directions or driving directions.

The default value of this property is any.

See Also

Specifying Transportation Options

var requestsAlternateRoutes: Bool

A Boolean indicating whether your app wants multiple routes when they are available.

var departureDate: Date?

The departure date for the trip.

var arrivalDate: Date?

The arrival date for the trip.