]> git.saurik.com Git - cydia.git/blobdiff - CyteKit/ViewController.mm
Now on iOS 8.3, webView: can be webThreadWebView:.
[cydia.git] / CyteKit / ViewController.mm
index 80afb8e15e982fe6456a6a8f22dc77e5f6a8ece1..78f2b264cb202247c84b3120f39aba61e22ef5ef 100644 (file)
@@ -26,8 +26,6 @@
 
 #include "iPhonePrivate.h"
 
-extern bool IsWildcat_;
-
 @implementation UIViewController (Cydia)
 
 - (BOOL) hasLoaded {
@@ -108,22 +106,12 @@ extern bool IsWildcat_;
     return nil;
 }
 
-- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
-    return IsWildcat_ || orientation == UIInterfaceOrientationPortrait;
-}
-
-- (NSUInteger) supportedInterfaceOrientations {
-    return IsWildcat_ ? UIInterfaceOrientationMaskAll : UIInterfaceOrientationMaskPortrait;
-}
-
-- (BOOL) shouldAutorotate {
-    return YES;
-}
-
 - (void) setPageColor:(UIColor *)color {
     if (color == nil)
         color = [UIColor groupTableViewBackgroundColor];
     color_ = color;
 }
 
+#include "InterfaceOrientation.h"
+
 @end