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

拦截Pop出现的问题 #187

Open
honeycao opened this issue Nov 20, 2018 · 0 comments
Open

拦截Pop出现的问题 #187

honeycao opened this issue Nov 20, 2018 · 0 comments

Comments

@honeycao
Copy link

FD 1.1
iOS 12.0

通过给 UINavigationController 加分类,实现 UINavigationBarDelegate 代理方法:

  • (BOOL)navigationBar:(UINavigationBar *)navigationBar shouldPopItem:(UINavigationItem *)item;

在不引入FD的情况下,在上面方法中返回NO,那么不会pop;
引入FD后,不管返回YES或NO,都直接pop了

这种情况该如何处理呢?

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