mirror of
https://github.com/rive-app/rive-ios.git
synced 2026-01-18 17:11:28 +01:00
Just a draft for testing at the moment.. if we want to include the way to set `preferredFramesPerSecond`, might make sense to expose some kind of API on `RiveView` or `RiveViewModel` to set on `CADisplayLink` when we create it for the animation loop. In particular, the change to `Info.plist` below is what enables the display link to go to 120fps. One caveat is that in setting `.preferredFramesPerSecond`, this API is marked as deprecated by Apple.. and still need to understand what the alternative is https://developer.apple.com/documentation/quartzcore/cadisplaylink/1648421-preferredframespersecond Diffs= 97b7622bc Enable CADisplayLink to run at a user-defined preferredFramesPerSecond (#6111) Co-authored-by: Zachary Plata <plata.zach@gmail.com>