X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/bc11cf5bb67e9f5c4096dc93d813272a49de1115..0c1cb67a559b2077dddedf7eab3251a3e4cc0812:/UICaboodle/RVPage.mm diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm index b2253330..81c8739c 100644 --- a/UICaboodle/RVPage.mm +++ b/UICaboodle/RVPage.mm @@ -5,10 +5,13 @@ #import "RVBook.h" -@implementation UCViewController -- (void)setDelegate:(id)delegate { +@implementation CYViewController +- (void) setDelegate:(id)delegate { delegate_ = delegate; } - (void) reloadData { } -@end \ No newline at end of file +- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation { + return (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad || orientation == UIInterfaceOrientationPortrait); +} +@end