Instance Method

willDisappear

Called to let you know that the interface controller’s content is now offscreen.

Declaration

- (void)willDisappear;

Discussion

WatchKit calls this method shortly before removing your interface controller’s content from the screen. Use this method to stop animations or perform other interface-related tasks prior to deactivation.

The system calls this method on your WatchKit extension’s main thread. The super implementation of this method does nothing.

See Also

Responding to Activation and Appearance Events

- willActivate

Called to let you know that the interface controller’s is active.

- didDeactivate

Called to let you know that the interface controller is no longer active.

- didAppear

Called to let you know that the interface controller’s content is now onscreen.