react-native-image-sequence
react-native-image-sequence copied to clipboard
fix: iOS last image now is shown after animation completes
Problem
Displaying a non-repeating sequence of images on iOS results in the image-view going blank after the animation has finished.
On Android, it does retain the last image of the sequence.
A proposed solution
If the overall UIImageView image is set before the animation has started, the last image stays on screen after the animation is finished.
stack-overflow uiimageview fix
This also makes the behaviour of iOS the same as Android.
Also, thanks for developing the react-native-image-sequence in the first place :)
Forked and used the library from @richardPFisk and it works perfectly. Would really appreciate it if this got merged into this library. Thanks for making this.