InstructionsCardViewController

open class InstructionsCardViewController : UIViewController

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.