UIScreen.screens.count differs on iPhone Duo sims depending on if app is IOS 26 SDK, or iOS 27 SDK

Hi there,

My app uses UIScreen.screens.count (deprecated) to predict whether mirroring is happening on older iOS devices

I noticed that the number of screens is different between iOS 26 SDK apps, and iOS 27 SDK apps.

Can I expect that iOS 26 SDK apps will continue to return 1 screen like below for the iPhone Duo release?. I assume it's like this is to maximise compatibility.


App built with SDK 26 on Xcode 27.1b1 iPhone Duo sim:

UIScreen.screens.count == 1

App built with SDK 27 on Xcode 27.1b1 iPhone Duo sim:

UIScreen.screens.count == 2

Thanks for the help! Sam

UIScreen.screens.count differs on iPhone Duo sims depending on if app is IOS 26 SDK, or iOS 27 SDK
 
 
Q