-
Notifications
You must be signed in to change notification settings - Fork 210
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 viewWillTransitionToSize #62
Comments
im g etting the same crashes here too: many crash reports saying the same thing:
|
I've tried this without crashes so far:
|
Updated PR with your fix, because mine still crashing. |
here's my overly- cautious fix
|
Done, you can use pod "LGAlertView", :git => 'https://github.com/NikKovIos/LGAlertView' with this fixup. |
Still have crashes.. |
The bug occures when the app orientation is portrait, but the status bar orientation is landscape. |
The problem is I don't know reason behind it, so currently I'm using easiest workaround – hardcoded duration. Feel free to use |
hard coded duration should fix this - I put '0.3' where 'coordinator.transitionDuration' was |
It's better to add weakSelf and strongSelf references to prevent crash in this method.
The text was updated successfully, but these errors were encountered: