Vlad
12/16/2024, 4:15 PMif #available (iOS 16.0, *) {}
but from Kotlin.
Couldn't find lot of info about that.
I see the available(vararg pairs: Pair<OS, OSVersion>)
in the org.jetbrain.skiko.OsVersion.apple.kt
which seems to doing the trick with available(OS.Ios to OSVersion(major = 16))
.
My concern is that it is not documented or mentioned so I am not sure if it is safe to use and or intended to for public usage