Post

Replies

Boosts

Views

Activity

`isFullScreen` of `UIWindowScene` has different available version between the dev doc and the xcode sdk
The isFullScreen attribute of UIWindowScene requires iOS 16+ on the dev doc. However, this attribute requires iOS 13+ in the Xcode iOS SDK (I'm using Xcode 15.0.0) This would lead to an issue that you can write something like: if #available(iOS 13, *) { windowScene.isFullScreen } and can pass the compilation, but crash on device using iOS 13~15.
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
324
Nov ’23