We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
- (void)jz_viewDidLoad { // 注释原有代码 /** * NSAssert(!self.delegate, @"Set delegate should be invoked when viewDidLoad"); * self.delegate = nil; * [self.interactivePopGestureRecognizer setValue:@NO forKey:@"canPanVertically"]; * self.interactivePopGestureRecognizer.delegate = self.jz_navigationDelegate; * [self jz_viewDidLoad]; */ // 修改代码如下(解决访问相机/相册闪退问题) self.delegate = self.delegate; [self.interactivePopGestureRecognizer setValue:@NO forKey:@"canPanVertically"]; self.interactivePopGestureRecognizer.delegate = self.jz_navigationDelegate; [self jz_viewDidLoad]; }
The text was updated successfully, but these errors were encountered:
我也碰到这个问题了,就是这里的代码,看不懂作者 NSAssert(!self.delegate, @"Set delegate should be invoked when viewDidLoad"); 这个警告的用途
Sorry, something went wrong.
不好使 依然崩
用这个 goldfish0506@e73baa4
No branches or pull requests
在 UINavigationController+JZExtension.m 文件中57行处,将方法 - (void)jz_viewDidLoad 进行修改:
The text was updated successfully, but these errors were encountered: