Contents

transportType

The type of conveyance that the directions apply to.

Declaration

var transportType: MKDirectionsTransportType { get set }

Discussion

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