A collection of methods that manage the app-level behavior of a WatchKit extension.
- watchOS 2.0+
Implement the delegate’s methods to respond to your app’s life-cycle events, such as the activation and deactivation of your app. You can also implement delegate methods to respond to background tasks, Siri intents, workout sessions, or Handoff activity from another devices.
WatchKit creates your delegate object automatically by instantiating the class assigned to the
WKExtension key in your WatchKit extension’s
Info file. By default, this class is named ExtensionDelegate. The system then assigns the delegate object to the
delegate property of the shared