My iPhone is On iPhone11,iOS 16.4(20E5212f)
CGSize size = [UIScreen mainScreen].bounds.size;
size.width is 375 but not 414
My iPhone is On iPhone11,iOS 16.4(20E5212f)
CGSize size = [UIScreen mainScreen].bounds.size;
size.width is 375 but not 414
Caused by “Setting > Display&Brightness > Display zoom > Larger Text”
Is the phone in zoom mode? (Settings => Display => Display Zoom set to "Larger Text")
Have a look at the values of [UIScreen mainScreen].nativeBounds, .scale, and .nativeScale.
Look at all of them in both zoom and non-zoom mode. Yes, it's complicated!