Files
react-native/Libraries
Paige SunandFacebook GitHub Bot b0d0e51a77 iOS: Animated image should animate at the same speed regardless of framerate
Summary:
In iOS 11, [CADisplayLink](https://developer.apple.com/documentation/quartzcore/cadisplaylink)'s frameInterval was deprecated in favor of preferredFramesPerSecond, but these two properties have different underlying assumptions.

- set frameInterval to 2 for 30fps
- set preferredFramesPerSecond to 30 for 30fps. When you use preferredFramesPerSecond, assume frameInterval is 1.

This fix ensures gifs in <Image> component will animate at same speed regardless of framerate.

Reviewed By: shergin

Differential Revision: D21414014

fbshipit-source-id: 40ab23bab1990cf65d2802830b6835f350999537
2020-05-06 10:38:14 -07:00
..
2020-04-29 19:32:48 -07:00
2020-05-01 03:47:26 -07:00
2020-02-28 12:46:49 -08:00
2020-03-30 14:05:27 -07:00
2020-02-28 12:46:49 -08:00
2020-02-21 10:34:40 -08:00