-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
TwitterPagerTabStripViewController crash on back navigation #178
Comments
It might be a clash between another pod ( |
@vzsg thanks for reporting the issue! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using TwitterPagerTabStripViewController as a pushed view controller, navigating backwards results in a crash:
fatal error: unexpectedly found nil while unwrapping an Optional value
in line 232.The property
navigationController
is nil during the transition, so trying to force unwrapping explodes.Stack trace
Environment
XLPagerTabStrip version: 5.0.0 (latest from Cocoapods)
Xcode version: 7.3 (7D175)
iOS version: 9.3 (Simulator)
Workaround
In my TPTSVC subclass, I'm overriding
viewDidLayourSubviews
to avoid the crash as such:The text was updated successfully, but these errors were encountered: