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

请问继承了YPNavigationController的导航控制器应该怎么处理全屏滑动返回呢 #59

Open
Ssiswent opened this issue Mar 24, 2021 · 7 comments

Comments

@Ssiswent
Copy link

使用原生的方式会闪退:
BaseNavigationController handleNavigationTransition:]: unrecognized selector sent to instance 0x105027200"
是否是因为这个框架修改了UINavigationController.interactivePopGestureRecognizer.delegate的值呢
是的话请问是哪个值呢,谢谢

@yiplee
Copy link
Owner

yiplee commented Mar 24, 2021

没有修改,你自己设置

@Ssiswent
Copy link
Author

Ssiswent commented Mar 24, 2021

这里是在根导航栏控制器设置的代码:
image
如果我把根导航栏控制器设置为YPNavigationController的话,会崩溃:
image
设置为UINavigationController则不会崩溃。

@Ssiswent
Copy link
Author

然后我在这个项目发现他也遇到了这个问题,并且得到了解决方案,猜测或许是因为你也进行了类似的修改。
https://github.com/Tencent/QMUI_iOS/issues/920

@yiplee
Copy link
Owner

yiplee commented Mar 24, 2021 via email

@Ssiswent
Copy link
Author

是正常的= =
正常

@Ssiswent
Copy link
Author

或者说有没有什么其他方法可以做到全屏优化返回呢

@yiplee
Copy link
Owner

yiplee commented Mar 24, 2021 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

2 participants