There are two subclasses of WKInterfaceController
in my Apple Watch app.
The first one is the entrance of another one, their relationships is nextPage
with the Interface Builder.
For the awakeWithContext
, willActivate
and didDeactivate
method in each InterfaceController, I printed them all out while watch app launching.
And I got this output:
awakeWithcontext -> First
awakeWithContext -> Second
willActivate -> First
willActivate -> Second
didDeactivate -> Second
and I swipe to the next InterfaceController:
willActivate -> Second
didDeactivate -> First
So now the question is:
Will all the awakeWithContext
method of all InterfaceControllers in Watch App be fired as long as launched?
What about the willActivate
method?