InstructionsBannerView
@IBDesignable
open class InstructionsBannerView : BaseInstructionsBannerView, NavigationComponent
A banner view that contains the current step instruction and responds to tap and swipe gestures.
This class responds and gets updated as the user progresses along a route according to the
NavigationComponent and BaseInstructionsBannerView protocol.
-
Updates the instructions banner info as the user progresses along a route.
Declaration
Swift
public func navigationService(_ service: NavigationService, didPassVisualInstructionPoint instruction: VisualInstructionBanner, routeProgress: RouteProgress)Parameters
serviceThe
NavigationServiceinstance that passes the instruction.instructionThe
VisualInstructionBannerinstance to be presented.routeProgressThe
RouteProgressinstance that the instruction banner view is updating.
Install in Dash
InstructionsBannerView Class Reference