WatchKit
Build watchOS apps that use features the app delegate monitors or controls, such as background tasks and extended runtime sessions.
Overview
The WatchKit framework provides infrastructure for creating watchOS apps, including an extension delegate that manages background tasks, extended runtime sessions, and Siri intents. The framework also performs other support tasks, such as accessing information about the user’s Apple Watch.
[Image]
You can also use WatchKit to design your app’s user interface in a storyboard, connecting UI elements to an interface controller.
For more information on building watchOS apps, see watchOS apps.
Topics
App structure
Setting up a watchOS projectWKApplicationWKApplicationDelegateWKExtensionWKExtensionDelegateWKApplicationMain(_:_:_:)WKInterfaceDeviceWKPrefersNetworkUponForeground
Runtime management
Background executionLife cyclesUsing extended runtime sessionsWKExtendedRuntimeSessionInteracting with Bluetooth peripherals during background app refresh