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

1.多次点击item 在item滚动的时候会被打断 #12

Open
PMBRK opened this issue Oct 25, 2017 · 2 comments
Open

1.多次点击item 在item滚动的时候会被打断 #12

PMBRK opened this issue Oct 25, 2017 · 2 comments

Comments

@PMBRK
Copy link

PMBRK commented Oct 25, 2017

解决办法 将tycyclepageview 中的 setcontentoffset:offset animation :animation 改成
[UIView animateWithDuration:0.2 animations:^{
_collectionView.contentOffset = CGPointMake(offset, _collectionView.contentOffset.y);
}];

@Azraeltulips
Copy link

contentOffset这个不是只读属性吗?也能修改?
我也遇到这个问题了,item滚动时点一下 就停止了

@cbb0405
Copy link

cbb0405 commented Jul 9, 2018

是的,切换banner的时候点击item,滚动会停在两张图片中间,用了一楼的方法,是可以防止滚动时点击,但是滚动动效明显不好看了,会出现前一页是空白页 把0.2 改0.5 就看的很明显了

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

3 participants