Type Method

isDirectionsRequest(_:)

Returns a Boolean indicating whether the specified URL contains a directions request.

Declaration

class func isDirectionsRequest(_ url: URL) -> Bool

Parameters

url

The URL provided to your app.

Return Value

true if the URL contains a directions request that your app should display to the user or false if it does not.

See Also

Creating a Directions Request Object

init(contentsOf: URL)

Initializes and returns a directions request object using the specified URL.