-
A view controller that displays the current maneuver instruction as a “banner” flush with the edges of the containing view. The user swipes to one side to preview a subsequent maneuver.
This class is the default top banner view controller used by
See moreNavigationOptionsandNavigationViewController.InstructionsCardViewControllerprovides an alternative, user notification–like interface.Declaration
Swift
open class TopBannerViewController : UIViewControllerextension TopBannerViewController: NavigationComponentextension TopBannerViewController: InstructionsBannerViewDelegateextension TopBannerViewController: StepsViewControllerDelegateextension TopBannerViewController: CarPlayConnectionObserverextension TopBannerViewController: NavigationStatusPresenterextension TopBannerViewController: NavigationMapInteractionObserver -
A view controller that displays the current maneuver instruction as a “card” resembling a user notification. A subsequent maneuver is always partially visible on one side of the view; swiping to one side reveals the full maneuver.
This class is an alternative to the more traditional banner interface provided by the
See moreTopBannerViewControllerclass. To useInstructionsCardViewController, create an instance of it and pass it into theNavigationOptions(styles:navigationService:voiceController:topBanner:bottomBanner:)method.Declaration
Swift
open class InstructionsCardViewController : UIViewControllerextension InstructionsCardViewController: UICollectionViewDelegateextension InstructionsCardViewController: UICollectionViewDataSourceextension InstructionsCardViewController: UICollectionViewDelegateFlowLayoutextension InstructionsCardViewController: NavigationComponentextension InstructionsCardViewController: InstructionsCardContainerViewDelegateextension InstructionsCardViewController: NavigationMapInteractionObserver -
A container view for the information currently displayed in
See moreInstructionsCardViewController.Declaration
Swift
public class InstructionsCardContainerView : StylableViewextension InstructionsCardContainerView: InstructionsCardContainerViewDelegate -
The
See moreInstructionsCardContainerViewDelegateprotocol defines a method that allows an object to customize presented visual instructions within the instructions container view.Declaration
Swift
public protocol InstructionsCardContainerViewDelegate : VisualInstructionDelegate -
See moreInstructionsBannerViewDelegateprovides methods for reacting to user interactions inInstructionsBannerView.Declaration
Swift
public protocol InstructionsBannerViewDelegate : AnyObject, UnimplementedLogging -
A view that contains a simple image indicating a type of maneuver.
See moreDeclaration
Swift
@IBDesignable open class ManeuverView : UIView -
A junction view shows an image depicting the layout of a highway junction.
As the user approaches certain junctions, an enlarged illustration of the junction appears in this view to help the user understand a complex maneuver. A junction view only appears when the relevant data is available.
See moreDeclaration
Swift
public class JunctionView : UIImageView -
GenericRouteShieldis a class to render routes that do not have route-shields.Declaration
Swift
public class GenericRouteShield : StylableView
Install in Dash
Guidance Instruction UI Reference