My understanding of the #available
syntax was that it was specifying the major / minor versions of iOS. However, I am noticing that code protected by this if
clause will be executed on iOS 12.
Is it expected that #available
resolves to a >=
check?
It appears to do this whether it has been compiled by the current version of Xcode (targeting iOS 11) as well as the beta version targeting iOS