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

与 FDFullscreenPopGesture 冲突,导致数组越界崩溃 #172

Open
GJGujian opened this issue Aug 16, 2022 · 0 comments
Open

与 FDFullscreenPopGesture 冲突,导致数组越界崩溃 #172

GJGujian opened this issue Aug 16, 2022 · 0 comments

Comments

@GJGujian
Copy link

当将要push的控制器设置了 self.fd_prefersNavigationBarHidden = YES时,HBDNavigationController- fakeBarFrameForViewController:方法会崩溃。

原因是该方法内部第一行 UIView *back = self.navigationBar.subviews[0]; 数组越界,self.navigationBar.subviews元素个数为0.

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