/* 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 <Foundation/Foundation.h>
#include <UIKit/UIKit.h>
-extern bool IsWildcat_;
+#include "iPhonePrivate.h"
@implementation UIViewController (Cydia)
return nil;
}
-- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
- return IsWildcat_ || orientation == UIInterfaceOrientationPortrait;
+- (void) setPageColor:(UIColor *)color {
+ if (color == nil)
+ color = [UIColor groupTableViewBackgroundColor];
+ color_ = color;
}
+#include "InterfaceOrientation.h"
+
@end