InstructionsCardViewController

open class InstructionsCardViewController : UIViewController
extension InstructionsCardViewController: UICollectionViewDelegate
extension InstructionsCardViewController: UICollectionViewDataSource
extension InstructionsCardViewController: UICollectionViewDelegateFlowLayout
extension InstructionsCardViewController: NavigationComponent
extension InstructionsCardViewController: InstructionsCardContainerViewDelegate
extension InstructionsCardViewController: 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 TopBannerViewController class. To use InstructionsCardViewController, create an instance of it and pass it into the NavigationOptions(styles:navigationService:voiceController:topBanner:bottomBanner:) method.