December 22, 2024

Apple Posts Developer Documentation for ProMotion on iPhone 13 Pro, 12 Refresh Rates Used

Posted September 25, 2021 at 2:42pm by iClarified · 5958 views
Apple has posted developer documentation on how to optimize ProMotion refresh rates for the iPhone 13 Pro.

You can’t force a ProMotion display to show your content at any specific rate. The refresh rate of a ProMotion display behaves differently than a traditional display. The system insulates the ProMotion’s actual refresh rate from your app. From your app’s point of view, the refresh rate for a ProMotion display is the rate that Core Animation renders the content for the entire display. The system synchronizes the rendering process with the display hardware’s refresh rate, but the display hardware doesn’t necessarily drive the rendering process. Core Animation arbitrates all the animations it presents on the screen and determines the refresh rate at any particular time. Your app can provide hints to Core Animation about what refresh rates the app prefers for its animations.

Notably, the iPhone 13 Pro supports seven more refresh rates than the iPad Pro.

The iPhone 13 Pro and iPhone 13 Pro Max ProMotion displays can present content on the display using the following refresh rates and timings:

● 120Hz (8ms)
● 80Hz (12ms)
● 60Hz (16ms)
● 48Hz (20ms)
● 40Hz (25ms)
● 30Hz (33ms)
● 24Hz (41ms)
● 20Hz (50ms)
● 16Hz (62ms)
● 15Hz (66ms)
● 12Hz (83ms)
● 10Hz (100ms)

The iPad Pro’s ProMotion display can present content on the display using the following refresh rates and timings:

● 120Hz (8ms)
● 60Hz (16ms)
● 40Hz (25ms)
● 30Hz (33ms)
● 24Hz (41ms)

On iPhone 13 Pro or iPhone 13 Pro Max, add the following key to your Info.plist file to enable the full range of refresh rates for CADisplayLink callbacks and CAAnimation animations in your app:

CADisableMinimumFrameDurationOnPhone

Your app must use this key to access higher frame rates (above 60Hz) it sets in the preferredFrameRateRange hint API. The iPad Pro doesn’t require this special configuration.

More details at the link below...

Read More