watchkit WKİnterfaceLabel not supported.
@IBOutlet weak var wklabel: WKInterfaceLabel!
var text = wklabel.text //error
println(text)
watchkit WKİnterfaceLabel not supported.
@IBOutlet weak var wklabel: WKInterfaceLabel!
var text = wklabel.text //error
println(text)
You can't retrieve the current text from a
WKInterfaceLabel
as the class only provides methods for setting text and colour. You would have to store the text in your own string property before setting it on the label.