Increase the fluidity of your App
I discovered this setting during the audit of the TikTok app. I was quite surprised by the incredible fluidity of the application and decided to dig a little to understand.
AppScan.ai metric for CADisableMinimumFrameDurationOnPhone
This parameter is detected in 6% (932 times in 15023 apps)of the App Scanned by AppScan.ai
In iOS, Core Animation is the framework that handles animations and visual effects. The “CADisableMinimumFrameDurationOnPhone” parameter is a boolean value that can be used to control the animation frame rate on iPhone devices.
By default, iOS sets a minimum frame duration of 1/60th of a second (i.e. 60 frames per second) for animations on iPhone devices. This ensures a smooth and consistent animation experience for users.
However, in some cases, an app may need to perform more complex animations or visual effects that require a higher frame rate. In these situations, the “CADisableMinimumFrameDurationOnPhone” parameter can be set to “true” to disable the minimum frame duration and allow the animation to run at the maximum possible frame rate for the device.
It’s important to note that using a higher frame rate can increase the demand on the device’s hardware, leading to reduced battery life and increased heat generation. Therefore, this parameter should be used judiciously and only when necessary to achieve the desired visual effect or animation.