This problem comes when I build an app targeting iOS 5 or 6, but run it on iOS 7. If I have a controller in a navigationController that is a part of a tabBarController, and I do the following:
controller.hidesBottomBarWhenPushed = YES; [self.navigationController pushViewController:testController animated:YES];
A strange vertical positioning animation occurs. I would instead like the new controller (with the bottom bar hidden) to push or pop on the navigation controller pushing the tab bar out or bringing it back and with no vertical positioning changes.
Video of Issue: https://dzwonsemrish7.cloudfront.net/items/0K2z1J3U2H3w033G0k23/hidesBottomBarWhenPushed.mov
Open Radar Report: http://www.openradar.me/14670329
You can always remove animation from the UIView with
[self.view.layer removeAllAnimations];
Cheers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With