WKInterfaceDevice
An object that provides information about the user’s Apple Watch.
Declaration
class WKInterfaceDeviceOverview
You can use the information from WKInterfaceDevice to make decisions about the content you display in your app. You can also use this object to play haptic feedback when your app is active.
Do not subclass or create instances of this class yourself. Always call the current() class method to get the shared device object.
Topics
Accessing the Shared Device Object
Reading the Screen Information
Reading the Device Settings
namemodellocalizedModelwristLocationWKInterfaceDeviceWristLocationcrownOrientationWKInterfaceDeviceCrownOrientationpreferredContentSizeCategory
Reading System Information
Accessing the Layout Direction
layoutDirectioninterfaceLayoutDirection(for:)WKInterfaceSemanticContentAttributeWKInterfaceLayoutDirection