#include "iPhonePrivate.h"
-extern bool IsWildcat_;
-
@implementation UIViewController (Cydia)
- (BOOL) hasLoaded {
return nil;
}
-- (NSUInteger) supportedInterfaceOrientations {
- return IsWildcat_ ? UIInterfaceOrientationMaskAll : UIInterfaceOrientationMaskPortrait;
-}
-
-- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
- return ([self supportedInterfaceOrientations] & 1 << orientation) != 0;
-}
-
-- (BOOL) shouldAutorotate {
- return YES;
-}
-
- (void) setPageColor:(UIColor *)color {
if (color == nil)
color = [UIColor groupTableViewBackgroundColor];
color_ = color;
}
+#include "InterfaceOrientation.h"
+
@end