UITraitCollection.sceneCaptureState does not work when using iPhone mirroring on iOS 18 beta and MacOS sequoia beta.
The path to reproducing this bug is as follows:
Set the default language of macOS to Korean
Change the default language setting in macOS to English
Use the iPhone Mirroring app
In situations like this, sceneCaptureState of UITraitCollection.current appears as inactive.
This can lead to serious bugs and abuse in many applications listed on the App Store.
UITraitCollection.current.sceneCaptureState