Structure

SupportedPlatform.WatchOSVersion

The supported watchOS version.

Declaration

struct WatchOSVersion

Topics

Major watchOS Versions

static var v2: SupportedPlatform.WatchOSVersion

The value that represents watchOS 2.0.

static var v3: SupportedPlatform.WatchOSVersion

The value that represents watchOS 3.0.

static var v4: SupportedPlatform.WatchOSVersion

The value that represents watchOS 4.0.

static var v5: SupportedPlatform.WatchOSVersion

The value that represents watchOS 5.0.

Instance Methods

Relationships

Conforms To

See Also

Supporting watchOS

static func watchOS(SupportedPlatform.WatchOSVersion) -> SupportedPlatform

Configure the minimum deployment target version for the watchOS platform.

static func watchOS(String) -> SupportedPlatform

Configure the minimum deployment target version for the watchOS platform using a custom version string.

static var watchOS: Platform

The watchOS platform.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software