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

发现2个问题 #43

Closed
q876911695 opened this issue Jun 22, 2017 · 2 comments
Closed

发现2个问题 #43

q876911695 opened this issue Jun 22, 2017 · 2 comments

Comments

@q876911695
Copy link

1,navigationBar的代理方法-(BOOL)navigationBar:(UINavigationBar *)navigationBar shouldPopItem:(UINavigationItem *)item 不应该写在viewControoler里;
2,Cookie设置是一个问题(未能解决,请求有什么好的方法吗?)

@devedbox
Copy link
Owner

你好

  • 第一个问题不是代理的问题,是Method Swizzling的用法,使用Responder Chain来作为方法实现的地方,这样可以在任意VC写逻辑的地方实现之.
  • 关于Cookie的设置,我用得少,不是特别清楚你什么需求,你可以看看网上的一些文章:http://www.jianshu.com/p/42d0bcdfaaca.

最后,还有其他什么问题,欢迎一起讨论

@q876911695
Copy link
Author

Cookie我已经解决了,正在测试。如果没有问题再贴上来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants