Instance Property


The expected departure time.


var expectedDepartureDate: Date { get }


The value of this property is dependent on whether you specified a departure date or arrival date in your MKDirections.Request object. If you specified a departure date, that date is copied to this property. If you specified an arrival date but not a departure date, the departure date is computed by subtracting the expected travel time from your arrival date. If you did not specify an arrival date or departure date, this property is set to the current time.

See Also

Getting the Travel Information

var expectedTravelTime: TimeInterval

The expected travel time in seconds.

var expectedArrivalDate: Date

The expected arrival time.

var distance: CLLocationDistance

The expected travel distance, in meters.

var transportType: MKDirectionsTransportType

The type of conveyance used to determine the travel time.