I ran into the same problem described in this OpenRadar issue. As stated there:
Summary: The hidesBottomBarWhenPushed property of UIViewController doesn't work as expected for apps built with iOS 6 SDK (not beta SDKs for iOS 7). The animation is weird when hiding the bottom bar (e.g. a tab bar).
Steps to Reproduce:
Create a new project with the TabBar template in Xcode 4. Add a UINavigationController to the FirstViewController. Add a button on the FirstViewController and set its action to push a new view controller. (please see the sample code attached)
Run the demo on an iOS 7 beta 5 device.
Press the button, back from the UINavigationController, pay attention to the animated view transitions.
Expected Results: The animation works exactly the same as on an iOS 6 device.
Actual Results: The animation looks weird. The FirstViewController is sliding down from the bottom.
Sample code: http://cl.ly/QgZZ
Is there any way to fix or work around this when building with the iOS 6 SDK?