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

Crash at line 240 of BFNavigationBarDrawer.m #9

Open
isair opened this issue May 23, 2015 · 4 comments
Open

Crash at line 240 of BFNavigationBarDrawer.m #9

isair opened this issue May 23, 2015 · 4 comments

Comments

@isair
Copy link

isair commented May 23, 2015

Here are the logs.

screen shot 2015-05-22 at 5 54 40 pm

I am calling the hideAnimated method from my view controller's viewWillDisappear. It is important to note that this crash doesn't happen most of the time.

@chrisdroukas
Copy link

Line 240 is [self.superview layoutIfNeeded]. Since you're calling hideAnimated in viewWillDisappear, confirm that when this line is executed you actually still have a superview.

@isair
Copy link
Author

isair commented May 28, 2015

I am pretty sure that a message sent to a nil object is treated as no-op in Objective-C. The problem's cause should lie elsewhere.

@DrummerB
Copy link
Owner

DrummerB commented Jun 2, 2015

I can't reproduce this. Could you maybe post your view controller's code in a gist, or at least the relevant parts? Thank you.

@kamilpowalowski
Copy link

I think that I know when this error occurs. It only takes place when view controller interactive swipe takes place. I have the same issue. I didn't manage to fix it.

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

4 participants