Style

Style is a convenient wrapper for styling the appearance of various interface components throughout the Navigation UI.

Styles are applied globally using UIAppearance. You should call Style.apply() to apply the style to the NavigationViewController.

  • Sets the tint color for guidance arrow, highlighted text, progress bar and more.

  • Sets the status bar style. UIViewControllerBasedStatusBarAppearance must be set to NO for this property to have any effect.

  • Sets the font family for all labels.

  • Describes the situations in which the style should be used. By default, the style will be used during the daytime.

  • URL of the style to display on the map during turn-by-turn navigation.

  • URL of the style to display on the map when previewing a route, for example on CarPlay.

  • Applies the style for all changed properties.