From f333f6c59d8af7624e10301b13ce631a4bd843a0 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 1 Feb 2011 23:39:14 -0800 Subject: Use IsWildcat_, not UI_USER_INTERFACE_IDIOM(). --- UICaboodle/RVPage.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'UICaboodle') 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 -- cgit v1.2.3