TopBannerViewController
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 “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 NavigationOptions
and NavigationViewController
. InstructionsCardViewController
provides an alternative, user notification–like interface.
-
Declaration
Swift
public func navigationService(_ service: NavigationService, didUpdate progress: RouteProgress, with location: CLLocation, rawLocation: CLLocation)
-
Declaration
Swift
public func navigationService(_ service: NavigationService, didPassVisualInstructionPoint instruction: VisualInstructionBanner, routeProgress: RouteProgress)
-
Declaration
Swift
public func navigationService(_ service: NavigationService, willRerouteFrom location: CLLocation)
-
Declaration
Swift
public func navigationService(_ service: NavigationService, didRerouteAlong route: Route, at location: CLLocation?, proactive: Bool)
-
Declaration
Swift
public func navigationService(_ service: NavigationService, didBeginSimulating progress: RouteProgress, becauseOf reason: SimulationIntent)
-
Declaration
Swift
public func navigationService(_ service: NavigationService, willEndSimulating progress: RouteProgress, becauseOf reason: SimulationIntent)
-
Declaration
Swift
public func didTapInstructionsBanner(_ sender: BaseInstructionsBannerView)
-
Declaration
Swift
public func didSwipeInstructionsBanner(_ sender: BaseInstructionsBannerView, swipeDirection direction: UISwipeGestureRecognizer.Direction)
-
Declaration
Swift
public func stepsViewController(_ viewController: StepsViewController, didSelect legIndex: Int, stepIndex: Int, cell: StepTableViewCell)
-
Declaration
Swift
public func didDismissStepsViewController(_ viewController: StepsViewController)
-
Declaration
Swift
public func didConnectToCarPlay()
-
Declaration
Swift
public func didDisconnectFromCarPlay()
-
Declaration
Swift
public func show(_ status: StatusView.Status)
-
Declaration
Swift
public func hide(_ status: StatusView.Status)
-
Declaration
Swift
@available(*, deprecated, message: "Add a status using show(_:﹚ instead") public func showStatus(title: String, spinner spin: Bool, duration: TimeInterval, animated: Bool, interactive: Bool)
-
Declaration
Swift
public func navigationViewController(didCenterOn location: CLLocation)