iOS max/min frame and max/min progress ignored
🐛 Bug Report
Max/min frame and max/min progress are ignored/commented out in the animation view renderer. Are these disabled on purpose?
https://github.com/Baseflow/LottieXamarin/blob/develop/Lottie.Forms/Platforms/Ios/AnimationViewRenderer.cs
Expected behavior
I would expect when I set max/min frame or max/min progress it would work.
Reproduction steps
Set max/min frame or max/min progress the full animation still plays.
Version: 4.0.7
Platform:
- [X] :iphone: iOS
- [ ] :robot: Android
- [ ] :checkered_flag: WPF
- [ ] :earth_americas: UWP
- [ ] :apple: MacOS
- [ ] :tv: tvOS
- [X] :monkey: Xamarin.Forms
Confirmed. Using this library for the first time, I discovered this as well. I haven't found a work around and considering just swapping out the JSON source for the 3 states I require.
Version: 4.0.8, iOS/Xamarin.Forms
Follow up, I found a way around this:
In the XAML markup, make sure that AutoPlay is False. And when changing the frame range, make sure to call StopAnimation() on the AnimationView before starting PlayMinAndMaxFreame().