-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
设置showPageControl = NO无效 #718
Comments
你好,你发给我的邮件已收到,看到邮件我会主动与你联系!谢谢!
|
我也遇到了同样的问题。因为是用xib吗?我在awakeFromNib设置的代码,通过视图层级查看,发现pagecontrol是在图片的下面一层,被遮挡住了。 |
SDCycleScrollView 里 awakeFromNib 方法换成 initWithCoder, awakeFromNib 执行较晚 会将 pageControlStyle 重新赋值。showPageControl 赋值 放在 pageControlStyle 或者 放在设置图片数据源之后, 这时_pageControl 才被赋值 |
你好,你发给我的邮件已收到,看到邮件我会主动与你联系!谢谢!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在UICollectionReusableView添加了一个banner控件。我在awakeFromNib设置下面的代码,但是pagecontrol还是会显示。根本不会隐藏,请问是什么原因呢?
self.bannerView.showPageControl = NO;
self.bannerView.pageControlStyle = SDCycleScrollViewPageContolStyleNone;
The text was updated successfully, but these errors were encountered: