0

I can't find how can I detect in code when the display zoom is changed from the device Settings:

enter image description here

Is there any way to detect the Display Zoom for all iPhone devices, which all are devices supporting this feature?

KP26
  • 283
  • 3
  • 14
  • @vrwim: This provides a solution for iPhone 6 and iPhone Plus in a hardcode manner. But is there any solution for this irrespective of the device type? Means validation should support all devices from iPhone 6 to iPhone 11 pro max – KP26 Oct 08 '20 at 16:32
  • @vrwim Can it be correct? let mainScreen = UIScreen.main if mainScreen.scale == mainScreen.nativeScale { print("Standard mode") } else { print("Zoomed mode") } – KP26 Oct 08 '20 at 16:57

0 Answers0