Jonathan
09/24/2026, 2:03 PMUiTraitCollection and read horizontalSizeClass and verticalSizeClass .Artem Olkov
09/24/2026, 2:44 PMUiTraitCollection is a very old API(introduced for ios 8 ) and is supported by any reasonably fresh kotlin (any 2.* would suffice)
As for the original question - the SDK version used is defined by your xcode project, and the API bindings are bundled with kotlin version. For example, kotlin 2.4.20 comes with sdk 26.4 bundled, kotlin 2.3.0 comes with sdk 26.0 bundled. Kotlin 2.5.0 would bundle sdk 27.
You can use kotlin 2.4.20 with xcode 27, our internal testing has not found problems with this combination. If there are problems - please report those, so we would be able to fix them 🙂Jonathan
09/24/2026, 2:46 PMArtem Olkov
09/24/2026, 2:49 PMJonathan
09/24/2026, 2:52 PMArtem Olkov
09/24/2026, 2:56 PM