/* Cydia - iPhone UIKit Front-End for Debian APT
- * Copyright (C) 2008-2013 Jay Freeman (saurik)
+ * Copyright (C) 2008-2015 Jay Freeman (saurik)
*/
/* GNU General Public License, Version 3 {{{ */
#include "iPhonePrivate.h"
-extern bool IsWildcat_;
-
@implementation UIViewController (Cydia)
- (BOOL) hasLoaded {
return nil;
}
-- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
- return IsWildcat_ || orientation == UIInterfaceOrientationPortrait;
-}
-
- (void) setPageColor:(UIColor *)color {
- if (color == nil) {
+ if (color == nil)
color = [UIColor groupTableViewBackgroundColor];
- if ([color isEqual:[UIColor clearColor]])
- color = [UIColor pinStripeColor];
- //color = [UIColor colorWithRed:(215.0/255.0) green:(217.0/255.0) blue:(223.0/255.0) alpha:1.0];
- } color_ = color;
+ color_ = color;
}
+#include "InterfaceOrientation.h"
+
@end