-1

watchkit WKİnterfaceLabel not supported.

@IBOutlet weak var wklabel: WKInterfaceLabel!   
var text = wklabel.text //error
println(text)
Qiu
  • 5,651
  • 10
  • 49
  • 56
kand
  • 11
  • 1

1 Answers1

2

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.

Steve Wilford
  • 8,894
  • 5
  • 42
  • 66