viewDidAppear equivalent in apple watch

0

I need to present a small animation (a sequence of images) when my App starts. The willActivate method does not help me, because it is still not showing anything. Is there a notification or something to make sure you're already showing the scene on the screen?

    
asked by anonymous 15.06.2015 / 14:18

2 answers

1

The WKInterfaceController life cycle is still quite limited and only has the -willActivate and -didDeactivate methods. So if you need to do something a little after the call of the -willActivate method, I see no other way than to use NSTimer to trigger the animation.

    
15.06.2015 / 15:02
1

From watchOS 2.0, you can use the didAppear method, which will be called right after the screen elements have been shown.

WKInterfaceController

Class Reference

    
20.07.2015 / 21:22