Class

MKDirectionsResponse

The route information returned by Apple servers in response to one of your requests for directions.

Declaration

@interface MKDirectionsResponse : NSObject

Overview

You do not create instances of this class directly. Instead, you initiate a request for directions by calling the calculateDirectionsWithCompletionHandler: method of an MKDirections object. The completion handler you pass to that method receives an MKDirectionsResponse object with the results.

Topics

Getting the End Points

source

The start point of the route.

destination

The end point of the route.

Getting the Route Information

routes

An array of route objects representing the directions between the start and end points.

Relationships

Inherits From

See Also

Directions

MKDirections

A utility object that computes directions and travel-time information based on the route information you provide.

MKDirectionsRequest

The start and end points of a route, along with the planned mode of transportation.

MKETAResponse

The travel-time information returned by Apple servers.

MKRoute

A single route between a requested start and end point.

MKRouteStep

One portion of an overall route.