Contents

name

The assigned name for the route.

Declaration

var name: String { get }

Discussion

The framework localizes the string in this property according to the user’s language preferences. You can display this string to the user from your app’s user interface so that the user can distinguish one route from another.

The string itself describes the route using one of the route’s significant features. For example, a route that uses a major highway for a significant portion of the route might use that highway for its name.

See Also

Getting additional route details