summaryrefslogtreecommitdiff
path: root/CyteKit/InterfaceOrientation.h
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-09-30 22:50:49 -1000
committerSam Bingner <sam@bingner.com>2018-09-30 22:50:49 -1000
commitae2e967c43880fbd1b7e7f130541e9dbbca0debf (patch)
tree09441918f5ad09a47a750885187e44493a5e8b12 /CyteKit/InterfaceOrientation.h
parente1fe198695e4c91f62772fb1dbbfdc4607503cdc (diff)
Make Cydia compatible back to iOS5 - unable to support older with this apt version due to newer apt requiring functions provided via libc++ on iOS
Diffstat (limited to 'CyteKit/InterfaceOrientation.h')
-rw-r--r--CyteKit/InterfaceOrientation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/CyteKit/InterfaceOrientation.h b/CyteKit/InterfaceOrientation.h
index eddfaf4..813958e 100644
--- a/CyteKit/InterfaceOrientation.h
+++ b/CyteKit/InterfaceOrientation.h
@@ -22,7 +22,8 @@
- (NSUInteger) supportedInterfaceOrientations {
extern bool IsWildcat_;
extern CGFloat ScreenScale_;
- return IsWildcat_ || ScreenScale_ == 3 ? UIInterfaceOrientationMaskAll : UIInterfaceOrientationMaskPortrait;
+ //return IsWildcat_ || ScreenScale_ == 3 ? UIInterfaceOrientationMaskAll : UIInterfaceOrientationMaskPortrait;
+ return UIInterfaceOrientationMaskAll;
}
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {