In iOS Watchkit, a WKInterfaceLabel object lets you manipulate the contents of an onscreen label at runtime. Use a label object to set a new text string for the label.
A WKInterfaceLabel object lets you manipulate the contents of an onscreen label at runtime. Use a label object to set a new text string for the label. The string you specify can use the default styling you specified at design time, or you can use an attributed string to add custom styling to the text.
Do not subclass or create instances of this class yourself. Instead, define outlets in your interface controller class and connect them to the corresponding objects in your storyboard file. For example, to refer to a label object in your interface, define a property with the following syntax in your interface controller class:
SWIFT
@IBOutlet weak var myLabel: WKInterfaceLabel!
OBJECTIVE-C
@property (weak, nonatomic) IBOutlet WKInterfaceLabel* myLabel;