iPadOS Subversion Target

Hey everyone, I'm making a Playground targeting specifically iPadOS. I've read the Terms and Conditions and it says it will be run on iPad OS 16 and newer. Does anyone know if this means 16.6 or truly 16.0? I have a view modifier which is only supported in 16.4 in later.

Post not yet marked as solved Up vote post of GavinR Down vote post of GavinR
341 views

Replies

I created a playground assuming version 16.0.

For versions after version 16.0, the code was written as follows.

if #available(iOS 17.0, *) {
// code...
        } else {
// code...
    }

IMO the best way to decide what to do here is to look at the popup you have to select when you submit your project; see here for a screen shot.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Playgrounds may be built to target iOS 16/iPadOS 16 or later. This includes the use of iOS 17/iPadOS 17 only.

For the latest info on this topic, see Swift Student Challenge deployment targets.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"