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

当tableView cell包含轮播控件时,会出现手势冲突,左右滑动轮播tableView上下也会滑动。 #713

Open
ghost opened this issue Apr 9, 2022 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 9, 2022

能否把mainView的scrollViewDelegate回调开放出来,scrollViewWillBeginDragging,scrollViewDidEndDecelerating,让开发者监听到拖拽手势,处理手势冲突问题。

@chinaiOSSwift
Copy link

chinaiOSSwift commented Apr 9, 2022 via email

@my-lsk
Copy link

my-lsk commented Apr 29, 2022

我也遇到这个问题了,解决了吗

@ghost
Copy link
Author

ghost commented May 6, 2022

没有解决,可能作者没空吧

@my-lsk
Copy link

my-lsk commented Jun 2, 2022

没有解决,可能作者没空吧

我自己试了,也没解决

@ghost
Copy link
Author

ghost commented Jun 13, 2022

开放出来,我可以处理掉,我只是不想每次更新了都去改一次源代码

@my-lsk
Copy link

my-lsk commented Jun 21, 2022

开放出来,我可以处理掉,我只是不想每次更新了都去改一次源代码

怎么搞?兄弟

@ghost
Copy link
Author

ghost commented Jun 21, 2022

开放出来,我可以处理掉,我只是不想每次更新了都去改一次源代码

怎么搞?兄弟

监控滚动时,滑动的角度大于45度(方位角为45°~145°及225°~315°),触发父级的UICollectionView/UITableView滚动isCanScroll=true,否则禁用isCanScroll=false;滚动结束,开启isCanScroll=true。

UICollectionView/UITableView 的嵌套吸顶是自己封装的,实现起来比较简单。

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

2 participants