Comments (4)
是的,闪一下看着很不舒服
from ybimagebrowser.
@CoderSimonWong @ChandHsu 在转场进入图片浏览器时,若传递了点击对应的imageview会有一个转场动效,但是转场结束过后,由于没有缩约图屏幕会变黑,加载过快导致会有闪一下的视觉效果。
所以解决方案之一就是为点击入场的那个 YBImageBrowserModel 设置缩约图(当然给所有都设置缩略图会避免出现加载图片时背景变黑只有一个加载指示器的情况)。
解决方案之二是要改组件代码了,因为若传递了点击对应的imageview实际上已经可以拿到入场的这个缩略图了。不过作者最近比较忙,后续会做重构和迭代,所以用第一种方案解决吧。
from ybimagebrowser.
2.0 重做版本已更新 新版本设置了sourceobject不需设置缩略图
from ybimagebrowser.
2.0 重做版本已更新 新版本设置了sourceobject不需设置缩略图
第一张图依然会闪烁一下,其他的就不会了
from ybimagebrowser.
Related Issues (20)
- 图片未加载完成下拉消失和视频下拉消失的时候,动画位置对不上
- webp格式的图 加载不出来 HOT 1
- 预览视频,下拉消失的时候,从手机屏幕边界回弹
- YBIBImageData.imageURL = [NSURL URLWithString:@"https://www.baidu.com/"]; 会崩溃
- 大神,大家需要你,出来维护吧
- 图片未加载完、视频等,下拉跳闪的解决办法
- 最新SDK,好像没有找到水印的功能
- 播放视频没声音
- 预览时,查看图片黑屏 HOT 3
- ios16上预览视频播放时左右滑动查看相邻的图片,再返回该视频后黑屏。iOS15没问题。 HOT 1
- Image对特大分辨率的渲染支持不太好。极容易因内存问题而crash。 HOT 1
- 什么时候支持 spm 呀? 本来想用 yb, 奈何不支持 spm
- 升级 sdwebimage 5.0 之后 找不到属性 YBImageBrowser shouldDecompressImages
- WEBP图片加载失败 HOT 2
- 崩溃
- 崩溃 HOT 5
- Xcode 15 iOS17 Crash HOT 3
- iOS 14 上的图片打开黑屏什么时候可以更新下 HOT 3
- ios17点击查看图片崩溃 HOT 2
- Can add apple privateInfo?
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 ybimagebrowser.