summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-01 23:39:14 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-02-07 12:26:11 -0800
commitf333f6c59d8af7624e10301b13ce631a4bd843a0 (patch)
tree55c0a61bbb21d707dd73df85a250c61ebb332a67 /UICaboodle
parent386a58f2bf90ce419b3a81de3cea948b46dcf148 (diff)
Use IsWildcat_, not UI_USER_INTERFACE_IDIOM().
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/RVPage.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm
index 81c8739..3e6e692 100644
--- a/UICaboodle/RVPage.mm
+++ b/UICaboodle/RVPage.mm
@@ -5,6 +5,8 @@
#import "RVBook.h"
+extern bool IsWildcat_;
+
@implementation CYViewController
- (void) setDelegate:(id)delegate {
delegate_ = delegate;
@@ -12,6 +14,6 @@
- (void) reloadData {
}
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
- return (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad || orientation == UIInterfaceOrientationPortrait);
+ return IsWildcat_ || orientation == UIInterfaceOrientationPortrait;
}
@end