Comments (5)
@LinXunFeng 你是不是弄错地方了,这不是SKPhotoBrowser的仓库哈 😂😂
from llcyclescrollview.
@LinXunFeng 如果你用到了
// Demo--延时加载数据
let bannerDemo1 = LLCycleScrollView.llCycleScrollViewWithFrame(CGRect.init(x: 0, y: 0, width: w, height: 200))
scrollView.addSubview(bannerDemo1)
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .seconds(2)) {
bannerDemo1.imagePaths = imagesURLStrings
}
没有数据就不用给imagePaths数据,默认是空数据不是nil
from llcyclescrollview.
这个崩溃搞错了,不好意思,哈哈。
还有就是那个没有设置 imagePaths 的时候是否是可以设置为不可点击?
from llcyclescrollview.
@LinXunFeng 应该不会出现崩溃呀,这个我后面控制下点击逻辑哈
如果急用,你可以先控制点击回调里,如果
imagePaths.count == 0 && index == 0 { return }
具体看你实现的是block回调还是协议回调
from llcyclescrollview.
好的,十分感谢
from llcyclescrollview.
Related Issues (20)
- 希望能增加pageContrl在图片的下方,距离图片有一定距离的功能。 HOT 1
- swift 4.1 用1.4.0 但 Kingfisher 用的 5.7.0 swift 5 版本的 HOT 1
- 作者,你的gif图能别这么大吗? HOT 2
- LLCycleScrollView放置到屏幕最上面,会自动 把contentOffset设置为-64? HOT 1
- 当轮播非屏宽时,自定义pageControl无效
- 为什么不支持iOS9.0呢
- 滑动触发翻页delegate scrollTo方法的bug
- 包下载好慢
- 偶发崩溃 HOT 2
- 当scrollview宽非全屏时,pagecontrol的frame计算错误
- 也太大了吧,pod 等了一天
- 版本1.6.0 使用图片PageControl,在iOS 13正常,在iOS 14不显示 HOT 6
- 支援webp格式
- 非全屏时,指示器right最右边显示位置不正确
- 继承LLCycleScrollView后没法重写初始化方法
- 开启URL特殊字符处理(isAddingPercentEncodingForURLString)选项后, url包含中文的图片无法显示
- 底部显示文字背景视图部分高度能设置下就最好了,现在默认高度是两行的56,那样显示一行文字不好看,最好是计算下如果一行文字的话30,两行56。
- 图片ContentMode的问题
- 图片验签的功能 没有哦,解密图片
- 当轮播view 的 left 不是0, right 不是0的时候,你的pageUI就有问题
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 llcyclescrollview.