-
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 moreNavigationOptions
andNavigationViewController
.InstructionsCardViewController
provides an alternative, user notification–like interface.Declaration
Swift
open class TopBannerViewController : UIViewController
extension TopBannerViewController: NavigationComponent
extension TopBannerViewController: InstructionsBannerViewDelegate
extension TopBannerViewController: StepsViewControllerDelegate
extension TopBannerViewController: CarPlayConnectionObserver
extension TopBannerViewController: NavigationStatusPresenter
extension 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 moreTopBannerViewController
class. To useInstructionsCardViewController
, create an instance of it and pass it into theNavigationOptions(styles:navigationService:voiceController:topBanner:bottomBanner:)
method.Declaration
Swift
open class InstructionsCardViewController : UIViewController
extension InstructionsCardViewController: UICollectionViewDelegate
extension InstructionsCardViewController: UICollectionViewDataSource
extension InstructionsCardViewController: UICollectionViewDelegateFlowLayout
extension InstructionsCardViewController: NavigationComponent
extension InstructionsCardViewController: InstructionsCardContainerViewDelegate
extension InstructionsCardViewController: NavigationMapInteractionObserver
-
A container view for the information currently displayed in
See moreInstructionsCardViewController
.Declaration
Swift
public class InstructionsCardContainerView : StylableView
extension InstructionsCardContainerView: InstructionsCardContainerViewDelegate
-
The
See moreInstructionsCardContainerViewDelegate
protocol defines a method that allows an object to customize presented visual instructions within the instructions container view.Declaration
Swift
public protocol InstructionsCardContainerViewDelegate : VisualInstructionDelegate
-
See moreInstructionsBannerViewDelegate
provides 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
-
GenericRouteShield
is a class to render routes that do not have route-shields.Declaration
Swift
public class GenericRouteShield : StylableView