watchOS(_:)

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

    SupportedPlatforms.swift:226
    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.

    Returns

    A SupportedPlatform instance.

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

    See also

    Other members in extension

    Types

    Type members