NavigationOptions
Customization options for the turn-by-turn navigation user experience in a NavigationViewController.
A navigation options object is where you place customized components that the navigation view controller uses during its lifetime, such as styles or voice controllers. You would likely use this class if you need to specify a Mapbox access token programmatically instead of in the Info.plist file.
Note
NavigationOptions is designed to be used with the NavigationViewController class to customize the user experience. To specify criteria when calculating routes, use the NavigationRouteOptions class. To modify user preferences that persist across navigation sessions, use the NavigationSettings class.
-
The styles that the view controller’s internal
StyleManagerobject can select from for display.If this property is set to
nil, aDayStyleand aNightStyleare created to be used as the view controller’s styles. This property is set tonilby default. -
The navigation service that manages navigation along the route.
-
The voice controller that manages the delivery of voice instructions during navigation.
-
The view controller to embed into the top section of the UI.
If this property is set to
nil, aTopBannerViewControlleris created and embedded in the UI. This property is set tonilby default. -
The view controller to embed into the bottom section of the UI.
If this property is set to
nil, aBottomBannerViewControlleris created and embedded in the UI. This property is set tonilby default. -
-
Initializes an object that configures a
NavigationViewController. -
Convienence factory-method for convenient bridging to Objective-C.
Install in Dash
NavigationOptions Class Reference