in my application for watchos 2 when I update data are updated only in the controller which shown. If I update label in willActivate() - text changes with a delay. How can update the WKInterfaceLabel in the not shown controllers use page based? The method WKInterfaceController.reloadRootControllersWithNames is not suitable
Asked
Active
Viewed 137 times
1 Answers
1
It's been a while since I used WatchKit specifically.
But to my understanding the willActivate()
method may be too late in the lifecycle for you. Have you tried looking at changing the text in earlier methods such as the init()
one?
I took a quick glance at the WatchKit Programming Guide.

Wesley McCloy
- 355
- 4
- 12
-
In a page-based interface, all interface controllers are initialized up front but only the first one is displayed initially... – Demetri Kulakoff Dec 15 '15 at 00:15
-
if you somehow have a reference to the view, you may be able to update the property while on another page – Wesley McCloy Dec 15 '15 at 02:44
-
doing so, but for some reason is not updated until you can see the screen – Demetri Kulakoff Dec 15 '15 at 20:44
-
Ah, there may be an other way. But there is a good chance it's because of WatchKit its limitations – Wesley McCloy Dec 16 '15 at 01:17