Apple iphone 5 theme

broken image

For information on supporting wide color in your app, see WWDC 2016 - Session 712: Working with Wide Color.Ī True Tone display uses advanced ambient light sensors to automatically adapt the color and intensity of the display to match the light in the surrounding environment.

broken image

The P3 Display color space has a larger color gamut than an sRGB color space, with more saturated reds and greens. Table 2-2 describes the ability to reproduce color and adapt the color display to the environment around the device. For more information on how to do this in Metal, see Native Screen Scale (iOS and tvOS). Instead, configure a view to render at the native scale instead.

broken image

For games and other apps that perform many calculations per pixel, rendering these additional pixels can be expensive.

broken image
broken image

If the native scale differs from the UIKit scale factor, then iOS first renders the content at the UIKit scale factor and then scales it to fit into the native number of pixels on the screen. At runtime, use the bounds and scale properties of a UIScreen object to understand how UIKit present the display to your app, and the nativeBounds and nativeScale when you need to work with the exact number of pixels on the display.