10

Given the iPhone 6 Plus is downscaling from 1242x2208 to 1080x1920, and UIKit is doing that, are there other ways of drawing to the screen that permit absolute (pixel perfect) drawing without downscaling?

I imagine, but am not sure, that OpenGL and Metal can draw pixel perfect graphics on iPhone 6 Plus, but don't know how. And am a little confused as to what Core Animation's coordinate systems mean, as I've read elsewhere that it might be able to do pixel perfect drawing, regardless of the Point system.

AstroCB
  • 12,337
  • 20
  • 57
  • 73
Confused
  • 6,048
  • 6
  • 34
  • 75

1 Answers1

9

For UIKit the non-integral scale factor doesn't usually matter. For OpenGL or Metal, use the new UIScreen nativeScale property to optimally determine the size of your framebuffer or drawable.

rickster
  • 124,678
  • 26
  • 272
  • 326