X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/cfa9a37598aabbb4788d48ed8f4428e5c8977076..0c1cb67a559b2077dddedf7eab3251a3e4cc0812:/UICaboodle/RVPage.mm?ds=inline diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm index aecf0d3b..81c8739c 100644 --- a/UICaboodle/RVPage.mm +++ b/UICaboodle/RVPage.mm @@ -5,10 +5,13 @@ #import "RVBook.h" -@implementation UCViewController -- (void)setDelegate:(id)delegate { - delegate_ = 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