XCode16 XCode15获取的屏幕宽高不同

Device: iPhone 16 Pro Max

System Version: 18.3.1

Screen width and height obtained using [UIScreen mainScreen].bounds.size are as follows

Why are the two results different?

XCode16 XCode15获取的屏幕宽高不同
 
 
Q