GuidanceManeuverView
@IBDesignable
open class GuidanceManeuverView : UIView
A view for displaying the maneuvers during guidance.
-
All the supported guidance maneuver view states.
- noData: State where the view does not have maneuver data (e.g. initial state).
- updating: State where the view awaits maneuver data.
- data: State where the view contains maneuver data.
Declaration
Swift
public enum State : Equatable
-
The view state. The default value is
.noData
.Declaration
Swift
public var state: GuidanceManeuverView.State { get set }
-
The axis along which the arranged views are laid out. The default value is
NSLayoutConstraint.Axis.horizontal
.Declaration
Swift
public var axis: NSLayoutConstraint.Axis { get set }
-
The distance measurement formatter. The default value is
MeasurementFormatter.currentMediumUnitFormatter
.Declaration
Swift
public var distanceFormatter: MeasurementFormatter { get set }
-
Sets the view’s foreground color, i.e. the color for the icons, text and activity indicators. The default value is
UIColor.colorForegroundLight
.Declaration
Swift
public var foregroundColor: UIColor? { get set }
-
A Boolean value that determines whether the maneuver should be highlighted. If
true
, sets the maneuver text color to the view’s.tintColor
. Iffalse
, sets the maneuver text color to.foregroundColor
. The default value isfalse
.Declaration
Swift
public var highlightManeuver: Bool { get set }