Instance Method

willDisappear()

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

Declaration

func 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

func willActivate()

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

func didDeactivate()

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

func didAppear()

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