Skip to content
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

有两个问题,供作者参考 #121

Open
nemoleo opened this issue Jan 27, 2016 · 0 comments
Open

有两个问题,供作者参考 #121

nemoleo opened this issue Jan 27, 2016 · 0 comments

Comments

@nemoleo
Copy link

nemoleo commented Jan 27, 2016

1, 背景图的 contentmode 是否可以跟随轮播器的contentmode一起改变.
if (!self.backgroundImageView) {
UIImageView *bgImageView = [UIImageView new];
[bgImageView setContentMode:self.bannerImageViewContentMode];
[self insertSubview:bgImageView belowSubview:self.mainView];
self.backgroundImageView = bgImageView;
}
2.collectionview刚好自动滚到倒数第二个cell时,我手动拉了一下...这个时候后面的cell 就拉不出来了
我读了代码之后发现 scrollViewdelegate 里并没有判断 手动拽到 最后一张图了. 而timer里面的方法只判断下一张 是不是到底了(到底才会回到中间),. 也就是这样我才看到了我那被拉伸的背景图.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant