diff options
author | Ryan Petrich <rpetrich@gmail.com> | 2010-09-22 23:28:57 -0600 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 10:42:38 +0000 |
commit | 6b727a05d79d39a7fa5dcc6613c8f60f68035da1 (patch) | |
tree | 99ec26a96d730acabeb507f84d07c0b9cc70e45b /Cydia.mm | |
parent | 44c6e9a8d5d804f6c221bc5328971bd9a3b12e43 (diff) |
Fix navigation bar animation when rotating
Diffstat (limited to 'Cydia.mm')
-rw-r--r-- | Cydia.mm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7616,6 +7616,12 @@ freeing the view controllers on tab change */ [[root_ selectedViewController] _updateLayoutForStatusBarAndInterfaceOrientation]; } +- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation duration:(NSTimeInterval)duration +{ + // XXX: fix Apple's layout bug + [[root_ selectedViewController] _updateLayoutForStatusBarAndInterfaceOrientation]; +} + - (void) didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation { if (dropped_) { [self raiseBar:NO]; |