Comments (5)
Are you referring to the playback of the image view pausing e.g. when it's inside a scroll view and the user scrolls?
from flanimatedimage.
Yes.
from flanimatedimage.
The relevant comment in code is here: https://github.com/Flipboard/FLAnimatedImage/blob/master/FLAnimatedImageDemo/FLAnimatedImage/FLAnimatedImageView.m#L147
It's on the to do list to investigate whether it's zero-risk to enable. If you already want to give it a try, just change the run loop mode to NSRunLoopCommonModes
.
Let me know!
from flanimatedimage.
I did change that already, and it didn't seem to make a difference, other than the fact that the GIFs don't pause. The comment you linked me to just says that "we don't support…", so I'm wondering what the reason behind that is.
from flanimatedimage.
It was a defensive choice because I saw some issues at the time (performance, run loop, ...), which might not be valid anymore and I'll revisit. In the meantime, feel free to use it with the CommonModes and enjoy continuous animation playback! :) If you have any concerns or thoughts, let me know.
Closing this issue as a dupe of #6
from flanimatedimage.
Related Issues (20)
- Bug Report HOT 1
- the image can not be displayed for ios 14. HOT 2
- Adding as SPM package issue
- Single-frame GIF has rendering issues on iOS 14 HOT 2
- 播放速度秒数对不上问题 HOT 3
- Hardcoded Frame Rate Divisor HOT 3
- loopCompletionBlock does not work HOT 1
- 在iPhone13Promax播放帧率异常加快 HOT 5
- iPhone 偶尔 crash , ios14.8 or iOS 15.0,FLAnimatedImage initWithAnimatedGIFData:optimalFrameCacheSize:predrawingEnabled:]
- 在iPhone13 promax播放GiF图异常问题修复后,非GIF图片不能正常显示。 HOT 1
- 播放速度过慢如何调整 HOT 2
- Bitcode not enabled for package
- Hi, is there the latest version released? HOT 2
- why do i can't pod search FLAnimatedImage 1.0.17 HOT 2
- Crash in imageAtIndex
- How do i stream a gif so that it plays like it would in the browser
- FLAnimatedImage
- Xcode 14.3 Support
- Feature Request: Support App Privacy Manifest HOT 1
- Upload Privacy Policy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flanimatedimage.