UIWindowScene.screen.isCaptured property returned false if the recording is already happening and launch the app in iOS 18 Beta 4.
I also tried with UIScreen.main.isCapture (also returned false) and sceneCaptureState (UITraitCollection) (which returned .inactive)
The flag returned true if the app is already opened in the foreground or put it in the background when the screen recording starts.
Is it a bug in iOS 18 Beta or is there any other API I need to use it for iOS 18?
OK, then I think the answer here is clear: File a bug against the beta.
Please post your bug number, just for the record.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"