]> git.saurik.com Git - cydia.git/commitdiff
We need to return YES from shouldAutorotateToInterfaceOrientation: for at least one...
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 3 Nov 2010 15:32:33 +0000 (08:32 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 4 Nov 2010 12:30:55 +0000 (05:30 -0700)
MobileCydia.mm

index 428c8848958b7963d94be64ca6cccc41fbd2b1d8..60edfa0feb5b2207f3f6300c0be7821a8babf787 100644 (file)
@@ -7659,7 +7659,7 @@ freeing the view controllers on tab change */
 }
 
 - (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
-    return IsWildcat_;
+    return IsWildcat_ || orientation == UIInterfaceOrientationPortrait;
 }
 
 - (void) setTabBarController:(UITabBarController *)controller {