lundi 29 juin 2015

nativeBounds of an iPhone 6 running in scaled mode?

What pixel sizes does UIScreen.mainScreen.nativeBounds return for an iPhone 6 which runs an app in scaled mode ie iPhone 5 mode?

Reference:

  • An iPhone 6 Plus returns 835x1482 pixels.
  • I don't have an iPhone 6 device at the moment so I cannot check.
  • Mr Google is quiet today.
  • The simulator returns completely different values for nativeBounds than devices do.

Aucun commentaire:

Enregistrer un commentaire