Storyboard support
Connect your code to storyboard elements using interface controllers, interface objects, and event handlers.
Overview
The WatchKit framework includes classes to control user interface elements that you lay out in your storyboard. Storyboard-based layouts typically require an interface controller for each scene. Each controller can manage one or more controls and subviews, such as tables, buttons, sliders, and other visual elements. Use the classes in this collection to configure your visual elements at runtime, and to respond to user interactions.
Topics
User interface basics
Building watchOS app Interfaces Using the StoryboardWKInterfaceObjectWKInterfaceControllerWKAlertActionWKAccessibilityImageRegionWKAccessibilityIsVoiceOverRunning()WKAccessibilityIsReduceMotionEnabled()
Controls
WKInterfaceLabelWKInterfaceDateWKInterfaceTimerWKInterfaceButtonWKInterfaceAuthorizationAppleIDButtonWKInterfacePaymentButtonWKInterfaceTextFieldWKInterfaceSwitchWKInterfaceSliderWKInterfaceActivityRingWKInterfaceMap
Containers
Audio
Playing Background AudioAdding a Now Playing ViewWKInterfaceVolumeControlPUICAutoLaunchAudioOptOutWKAudioFilePlayerWKAudioFileQueuePlayerWKAudioFilePlayerItemWKAudioFileAsset
Images and movies
WKInterfaceImageWKImageWKImageAnimatableWKInterfaceMovieWKInterfaceInlineMovieWKInterfaceHMCameraWKVideoGravity
Graphics and games
Event handling
WKCrownSequencerWKCrownDelegateWKGestureRecognizerWKLongPressGestureRecognizerWKPanGestureRecognizerWKSwipeGestureRecognizerWKTapGestureRecognizer