GuidanceStreetLabel
@IBDesignable
open class GuidanceStreetLabel : UILabel
Label for displaying the street name, which depends on position and map tracking data.
-
Sets the content insets.
Declaration
Swift
public var contentInsets: UIEdgeInsets { get set } -
Background color of the label when it’s accented. The default value is
UIColor.colorPositive.Declaration
Swift
public var accentBackgroundColor: UIColor { get set } -
Background color of label when it’s not accented. The default value is
UIColor.colorForegroundSecondary.Declaration
Swift
public var plainBackgroundColor: UIColor { get set } -
Sets the background color. If
trueit usesaccentBackgroundColor, otherwiseplainBackgroundColoris used. The default value istrue.Declaration
Swift
public var isAccented: Bool { get set } -
Sets the text of the label that should be displayed when
isLookingForPositionistrue.Declaration
Swift
public var lookingForPositionText: String? { get set } -
Sets the state to
looking for position
.When set to
true, the label sets itsisHiddenproperty totrue, usesplainBackgroundColoras itsbackgroundColorand setslookingForPositionTextas itstext.When set to
false, the label sets itsisHiddenproperty tofalse, usesaccentBackgroundColoras itsbackgroundColorand sets itstextpropertynil.Note
When this property is set,textproperty is invalidated and should be configured again.The default value is
false.Declaration
Swift
public var isLookingForPosition: Bool { get set }
View on GitHub
GuidanceStreetLabel Class Reference