Type Method

watchOS(_:)

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

Declaration

static func watchOS(_ versionString: String) -> SupportedPlatform

Parameters

versionString

The minimum deployment target as a string representation of two or three dot-separated integers, such as “2.0.1”.

Discussion

The version string must be a series of two or three dot-separated integers, such as 2.0 or 2.0.1.

See Also

Supporting watchOS

static func watchOS(SupportedPlatform.WatchOSVersion) -> SupportedPlatform

Configure the minimum deployment target version for the watchOS platform.

static var watchOS: Platform

The watchOS platform.

struct SupportedPlatform.WatchOSVersion

The supported watchOS version.