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

Demo iOS13侧滑失效 #118

Open
zzzkj opened this issue Oct 15, 2019 · 4 comments
Open

Demo iOS13侧滑失效 #118

zzzkj opened this issue Oct 15, 2019 · 4 comments

Comments

@zzzkj
Copy link

zzzkj commented Oct 15, 2019

之前iOS12的时候demo上可以点击出现抽屉,也可以侧滑手势出现抽屉,今天发现iOS13.1下只能点击了,手势不能拖出抽屉,请看看问题,谢谢。

@ChavezChen
Copy link
Owner

我试了一下,手势是有效的,只是相对于iOS12需要从更边缘的位置开始滑,开启边缘手势的情况下 13.1.2的真机上使用影响还好,在模拟器上面需要从屏幕边缘外滑入才可以

@zzzkj
Copy link
Author

zzzkj commented Oct 16, 2019

试了下demo,确实是这样的,但我自己的�工程中间的控制器也是有tableview的,只能从非tableview区域划出抽屉,是哪里手势冲突呢?

@anchoriter
Copy link

  • (void)cw_pushViewController:(UIViewController *)vc drewerHiddenDuration:(NSTimeInterval)duration
    在push方法最后再加入下面两行代码
    nav.interactivePopGestureRecognizer.delegate = (id)vc;
    nav.interactivePopGestureRecognizer.enabled = YES;

@JiaqiangQin
Copy link

JiaqiangQin commented Oct 24, 2023 via email

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

4 participants