InstructionsCardContainerView
public class InstructionsCardContainerView : StylableView, InstructionsCardContainerViewDelegate
A container view for the information currently displayed in InstructionsCardViewController.
-
Color of the background that will be used in case if distance to the next maneuver is higher than threshold distance, defined in
InstructionCardHighlightDistance.Declaration
Swift
@objc dynamic public var customBackgroundColor: UIColor -
Color of the background that will be used when remaining distance to the next maneuver is below threshold distance, defined in
InstructionCardHighlightDistance.Declaration
Swift
@objc dynamic public var highlightedBackgroundColor: UIColor -
Color of the separator between
InstructionsCardVieworLanesView/NextBannerView.Declaration
Swift
@objc dynamic public var separatorColor: UIColor -
Color of the separator between
InstructionsCardVieworLanesView/NextBannerViewthat will be used when remaining distance to the next maneuver is below threshold distance, defined inInstructionCardHighlightDistance.Declaration
Swift
@objc dynamic public var highlightedSeparatorColor: UIColor
-
Delegate, which provides methods that allow presented visual instructions customization within the instructions container view.
Declaration
Swift
public weak var delegate: InstructionsCardContainerViewDelegate?
-
Declaration
Swift
public func label(_ label: InstructionLabel, willPresent instruction: VisualInstruction, as presented: NSAttributedString) -> NSAttributedString?
Install in Dash
InstructionsCardContainerView Class Reference