How can I detect whether a user has an iPhone 6 Plus in standard or zoomed mode?

barfoon picture barfoon · Sep 20, 2014 · Viewed 15.6k times · Source

How can I detect whether a user has an iPhone 6 Plus in standard or zoomed mode? Is this possible?

I've tried [UIScreen mainScreen].scale and it reports 3.0 in both cases.

Answer

Paul Franceus picture Paul Franceus · Sep 21, 2014

There's a new member

[[UIScreen mainScreen] nativeScale]

which should do what you want. It's only available on iOS 8, so you'll need to guard it