Mapbox Navigation SDK for iOS Docs Navigation SDK for iOS Reference (2.9.0)

View on GitHub

Install in Dash

Mapbox Navigation SDK for iOS Reference Styling Reference
  • Guides
    • Using Map Matching
    • Reduce Memory Usage
    • Styling the UI
  • Turn-by-turn UI
    • NavigationViewController
    • NavigationViewControllerDelegate
    • RouteVoiceController
    • SpeechSynthesizing
    • SpeechSynthesizingDelegate
    • MapboxSpeechSynthesizer
    • SystemSpeechSynthesizer
    • MultiplexedSpeechSynthesizer
    • SpeechError
    • SpeechFailureAction
    • NavigationOptions
    • NavigationView
  • Core Navigation Logic
    • NavigationService
    • NavigationServiceDelegate
    • MapboxNavigationService
    • – NotificationUserInfoKey
    • Router
    • RouterDataSource
    • RouteController
    • – NotificationUserInfoKey
    • RouterDelegate
    • RouteProgress
    • RouteLegProgress
    • RouteStep
    • RouteStepProgress
    • CongestionLevel
    • VisualInstruction
    • VisualInstructionDelegate
    • NavigationEventsManager
    • ActiveNavigationEventsManagerDataSource
    • PassiveNavigationEventsManagerDataSource
    • NavigationLocationManager
    • ReplayLocationManager
    • SimulatedLocationManager
    • NavigationRouteOptions
    • DirectionsOptions
    • NavigationMatchOptions
    • SimulationMode
    • SimulationIntent
    • SimulationState
    • PassiveLocationManager
    • – NotificationUserInfoKey
    • PassiveLocationManagerDelegate
  • Maps
    • NavigationMapView
    • NavigationMapViewDelegate
    • MapView
    • PassiveLocationProvider
    • NavigationLocationProvider
    • WaypointStyle
    • UserLocationStyle
  • Styling
    • Style
    • StyleManager
    • StyleManagerNotificationUserInfoKey
    • StyleManagerDelegate
    • DayStyle
    • NightStyle
  • Formatters
    • DistanceFormatter
  • UI Components
    • SpeedLimitView
    • UserPuckCourseView
    • UserHaloCourseView
    • UserCourseView
    • CourseUpdatable
    • NavigationComponent
    • FloatingButton
    • WayNameLabel
    • WayNameView
  • Guidance Instruction UI
    • TopBannerViewController
    • TopBannerViewControllerDelegate
    • InstructionsCardViewController
    • InstructionsCardContainerView
    • InstructionsCardContainerViewDelegate
    • InstructionsBannerView
    • InstructionsBannerViewDelegate
    • BaseInstructionsBannerView
    • ManeuverView
    • JunctionView
    • GenericRouteShield
    • StepsViewControllerDelegate
    • BottomBannerViewController
    • BottomBannerViewControllerDelegate
  • CarPlay
    • CarPlayManager
    • CarPlayManagerDelegate
    • CarPlayNavigationViewController
    • CarPlayNavigationViewControllerDelegate
    • CarPlayActivity
    • CarPlayCompassView
    • CarPlayMapViewController
    • CarPlayMapViewControllerDelegate
    • CarPlaySearchController
    • CarPlaySearchControllerDelegate
    • CarPlayConnectionObserver
    • RecentItem
    • NavigationGeocodedPlacemark
    • CarPlayUserInfo
  • Configuration
    • RouteControllerDeadReckoningTimeInterval
    • RouteControllerMediumAlertInterval
    • RouteControllerHighAlertInterval
    • RouteControllerManeuverZoneRadius
    • RouteSnappingMaxManipulatedCourseAngle
    • RouteControllerMaximumAllowedDegreeOffsetForTurnCompletion
    • RouteControllerMaximumDistanceBeforeRecalculating
    • RouteControllerUserLocationSnappingDistance
    • MapOrnamentPosition
    • CongestionAttribute
    • CurrentLegAttribute
    • RouteLineWidthByZoomLevel
    • NavigationMapViewMinimumDistanceForOverheadZooming
    • NavigationViewMinimumVolumeForWarning
    • GradientCongestionFadingDistance
    • RouteControllerIncorrectCourseMultiplier
    • RouteControllerLinkedInstructionBufferMultiplier
    • RouteControllerMaximumSpeedForUsingCurrentStep
    • RouteControllerMinNumberOfInCorrectCourses
    • RouteControllerMinimumBacktrackingDistanceForRerouting
    • RouteControllerMinimumDistanceForContinueInstruction
    • RouteControllerMinimumDurationRemainingForProactiveRerouting
    • RouteControllerMinimumNumberLocationUpdatesBackwards
    • RouteControllerNumberOfSecondsForRerouteFeedback
    • RouteControllerProactiveReroutingInterval
    • RouteSnappingMinimumHorizontalAccuracy
    • RouteSnappingMinimumSpeed
    • NavigationSettings
  • User Feedback
    • FeedbackViewController
    • FeedbackViewControllerDelegate
    • FeedbackItem
    • ActiveNavigationFeedbackType
    • PassiveNavigationFeedbackType
    • PassiveNavigationIncorrectVisualSubtype
    • ConfusingAudioSubtype
    • RouteQualitySubtype
    • IllegalRouteSubtype
    • RoadClosureSubtype
    • FeedbackSource
    • EndOfRouteFeedback
    • FeedbackEvent
    • FeedbackScreenshotOption
    • FeedbackType
    • PassiveNavigationRoadIssueSubtype
    • PassiveNavigationWrongTrafficSubtype
    • LooksIncorrectSubtype
  • Camera
    • NavigationCamera
    • NavigationCameraType
    • NavigationCameraState
    • CameraStateTransition
    • NavigationCameraStateTransition
    • ViewportDataSource
    • NavigationViewportDataSource
    • ViewportDataSourceType
    • ViewportDataSourceDelegate
    • FollowingCameraOptions
    • IntersectionDensity
    • BearingSmoothing
    • GeometryFramingAfterManeuver
    • PitchNearManeuver
    • OverviewCameraOptions
    • NavigationViewportDataSourceOptions
    • CameraOptions
  • Preview
    • PreviewOptions
    • PreviewViewController
    • PreviewViewControllerDelegate
    • Banner
    • BannerConfiguration
    • BannerDismissalViewController
    • BannerDismissalViewControllerDelegate
    • DestinationPreviewViewController
    • DestinationPreviewViewControllerDelegate
    • DestinationOptions
    • DestinationDataSource
    • RoutePreviewViewController
    • RoutePreviewViewControllerDelegate
    • RoutePreviewOptions
    • RoutePreviewDataSource
  • Electronic Horizon
    • ElectronicHorizonOptions
    • RoadGraph
    • – NotificationUserInfoKey
    • – Edge
    • – Path
    • – Position
    • – SubgraphEdge
    • OpenLRIdentifier
    • OpenLROrientation
    • RoadName
    • RoadObject
    • – EdgeLocation
    • – Kind
    • – Location
    • – Position
    • DistancedRoadObject
    • RoadObjectMatcher
    • RoadObjectStore
    • RoadObjectMatcherDelegate
    • RoadObjectStoreDelegate
    • RoadObjectMatcherError
    • OpenLRSideOfRoad
  • Reading History
    • HistoryReader
    • – ReadOptions
    • – Iterator
    • HistoryEvent
    • UnknownHistoryEvent
    • RouteAssignmentHistoryEvent
    • LocationUpdateHistoryEvent
    • History
    • HistoryRecording
  • Other Classes
    • DispatchTimer
    • – State
    • MapboxRoutingProvider
    • – Source
    • – Request
    • PredictiveCacheManager
    • StepInstructionsView
    • StepTableViewCell
  • Other Global Variables
    • CongestionRangeHeavy
    • CongestionRangeLow
    • CongestionRangeModerate
    • CongestionRangeSevere
    • RestrictedRoadClassAttribute
  • Other Enumerations
    • AlternativeRouteError
    • ReroutingError
    • RoutesPresentationStyle
  • Other Extensions
    • Array
    • Bundle
    • CGPoint
    • CGSize
    • CLLocation
    • CPInterfaceController
    • CongestionRange
    • Dictionary
    • Directions
    • Locale
    • MapboxNavigationNative.RoadObjectMatcherError
    • MapboxStreetsRoadClass
    • Measurement
    • NSAttributedString
    • – Key
    • Notification
    • – Name
    • ResourceOptionsManager
    • RouteLeg
    • String
    • StyleURI
    • TileStore
    • TilesetDescriptorFactory
    • UIApplication
    • – State
    • UIDevice
    • UIEdgeInsets
    • UIFont
    • UIWindow
    • URLSessionDataTask
  • Other Protocols
    • BimodalCache
    • BimodalDataCache
    • BimodalImageCache
    • NavigationMapInteractionObserver
    • NavigationProviderRequest
    • NavigationStatusPresenter
    • RouteVoiceControllerDelegate
    • RoutingProvider
    • UnimplementedLogging
  • Other Structures
    • AlternativeRoute
    • – RouteInfo
    • AlternativeRouteDetectionStrategy
    • – RefreshOnEmpty
    • BorderCrossing
    • IncidentsOptions
    • IndexedRouteResponse
    • MapMatchingResult
    • PredictiveCacheLocationOptions
    • PredictiveCacheMapsOptions
    • PredictiveCacheNavigationOptions
    • PredictiveCacheOptions
    • RouteAlert
    • StatusUpdatingSettings
    • TileStoreConfiguration
    • – Location
    • Tunnel
  • Other Type Aliases
    • AdvanceLegCompletionHandler
    • CongestionRange
    • ContainerViewController
    • RoutingProviderSource

Styling

  • 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.

    See more

    Declaration

    Swift

    @objc(MBStyle)
    open class Style : NSObject
    View Source on GitHub
  • StyleManager

    A manager that handles Style objects. The manager listens for significant time changes and changes to the content size to apply an appropriate style for the given condition.

    See more

    Declaration

    Swift

    open class StyleManager
    View Source on GitHub
  • StyleManagerNotificationUserInfoKey

    Keys in the user info dictionaries of various notifications posted by instances of StyleManager.

    See more

    Declaration

    Swift

    public struct StyleManagerNotificationUserInfoKey : Hashable, Equatable, RawRepresentable
    View Source on GitHub
  • StyleManagerDelegate

    The StyleManagerDelegate protocol defines a set of methods used for controlling the style.

    See more

    Declaration

    Swift

    public protocol StyleManagerDelegate : AnyObject, UnimplementedLogging
    View Source on GitHub
  • DayStyle

    DefaultStyle is default style for Mapbox Navigation SDK.

    See more

    Declaration

    Swift

    open class DayStyle : Style
    View Source on GitHub
  • NightStyle

    NightStyle is the default night style for Mapbox Navigation SDK. Only will be applied when necessary and if automaticallyAdjustStyleForSunPosition.

    See more

    Declaration

    Swift

    open class NightStyle : DayStyle
    View Source on GitHub

© 2014–2022 Mapbox. See license for more details.

Generated by jazzy ♪♫ v0.14.2, a Realm project.