summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-11-03 08:32:33 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-11-04 05:30:55 -0700
commit722d98cad9374e0e03e85611c196a2a128b0f4a6 (patch)
treeda8ab2aafa559da6f6a065028607c53f64846d94
parentb7cc8ce298c1c30095c88a3458e97eb299dfd6e7 (diff)
We need to return YES from shouldAutorotateToInterfaceOrientation: for at least one orientation.
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 428c884..60edfa0 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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 {