Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Immediately layout subviews when changing state, otherwise changes in layoutSubviews will be animated on iOS 7.
- Loading branch information
8e726fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iOS7 introduced a new method + (void)performWithoutAnimation:(void (^)(void))actionsWithoutAnimation. If you wrap the code which changes the position of the frames, the animation will disappear. I had a similar issue.