Contents

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.

Return Value

A SupportedPlatform instance.

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