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

Fix app crashing when applying auto layout on tabbaritems. #35

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

doggy
Copy link

@doggy doggy commented Dec 11, 2014

some updates for supporting auto-layout animation

On iOS below 8 (7.1;7.0;Sim or Real device), app will crash and prompt to call [super layoutSubviews]
*** Assertion failure in -[RDVAppTabBar layoutSublayersOfLayer:], /SourceCache/UIKit_Sim/UIKit-2935.137/UIView.m:8794
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Auto Layout still required after executing -layoutSubviews. RDVAppTabBar's implementation of -layoutSubviews needs to call super.'

p.s. This fix will not affect non-autolayout view's display.

On iOS below 8 (7.1;7.0;Sim or Real device), app will crash and prompt to call [super layoutSubviews]
*** Assertion failure in -[RDVAppTabBar layoutSublayersOfLayer:], /SourceCache/UIKit_Sim/UIKit-2935.137/UIView.m:8794
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Auto Layout still required after executing -layoutSubviews. RDVAppTabBar's implementation of -layoutSubviews needs to call super.'

p.s. This fix will not affect non-autolayout view's display.
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

Successfully merging this pull request may close these issues.

1 participant