CADisplayLink frame rate on 10.5" iPad Pro

We have an OpenGL-based iOS app. We use a CADisplayLink to control our drawing updates.

I just got the new 10.5" iPad Pro and we are getting a maximum frame rate of 60 rather than the 120 we can theoretically get on the new hardware.

We set up the display link like this:



NSLog(@"Maximum FPS = %ld", [UIScreen mainScreen].maximumFramesPerSecond); 
self.caDisplayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(displayLinkCalled:)]; 
caDisplayLink.preferredFramesPerSecond = 120;
[caDisplayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];


The displayLinkCalled: method is called 60 times per second. The log statement does indicate the UIScreen's maximum frame rate is 120 FPS.

Is there anything else I need to do to update at higher than 60 FPS?

As per a response on this thread, adding

<key>CADisableMinimumFrameDuration</key><true/>
to your Info.plist will allow you to opt-in to using the ProMotion display's new framerate.


I've added it to my app (which uses the

CADisplayLink
for animating images), and can verify that doing so should work as expected.