Skip to content

Conversation

addrianyy
Copy link
Contributor

Description

To achieve > 60 Hz refresh rates on iOS it is required to setup CADisplayLink callback and set preferredFrameRateRange to appropriate values. This was being done only in src/video/uikit/SDL_uikitviewcontroller.m. However when main callbacks are used then different CADisplayLink dictates refresh rate.

Existing Issue(s)

Fixes #13882

@slouken slouken merged commit 01e6ace into libsdl-org:main Sep 6, 2025
28 of 42 checks passed
@slouken
Copy link
Collaborator

slouken commented Sep 6, 2025

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

High refresh rate on iOS doesn't work when using main callbacks
2 participants