Apple has updated its developer documentation about ProMotion, explaining to developers how to understand and properly use the variable refresh rates feature in the iPhone 13 Pro models.
On Friday, it was found that developers weren't able to fully take advantage of ProMotion, Apple's variable refresh rate feature that can change the display's updates from the typical 60Hz to a maximum of 120Hz. Hours after Apple acknowledged that developers can take advantage of the feature, it has also taken steps to educate developers on how to properly use ProMotion.
In an update to the Core Animation framework developer documentation on Apple's website, there's a new page titled "Optimizing ProMotion Refresh Rates for iPhone 13 Pro and iPad Pro."
The page explains that developers can set animations to work at higher or lower refresh rates, and how to do it. While some framework animation features can handle frame pacing for developers, such as UIKit and SpriteKit, developers can take advantage of CADisplayLink to specify the timing for an animation.
As part of the documentation, it also confirms there is a greater array of refresh rates available o the iPhone 13 Pro and Pro Max, compared to the iPad Pro.
The iPad Pro can present content at 120Hz, 60Hz, 40Hz, 30Hz, and 24Hz. Meanwhile, the iPhone 13 Pro pair can also use 80Hz, 48Hz, 20Hz, 16Hz, 15Hz, 12Hz, and 10Hz at the lowest.
Apple recommends that small animations with fewer updates could use lower frame rates to save power, while high-impact animations such as gaming could take advantage of the higher refresh rates.
Apple confirmed the automatic handling of refresh rates late on Friday, as part of its clarification following developer reports of animation issues earlier in the day. At the same time, it confirmed that there was an issue with animations made using Core Animations, and that a fix is on the way, but for the moment some animations may be limited to 60Hz.
Source: Appleinsider