X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/9b623dac3e39ca96e0326a7e93d9684b224c1fa1..0c1cb67a559b2077dddedf7eab3251a3e4cc0812:/UICaboodle/RVPage.mm diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm index 8c702d30..81c8739c 100644 --- a/UICaboodle/RVPage.mm +++ b/UICaboodle/RVPage.mm @@ -6,9 +6,12 @@ #import "RVBook.h" @implementation CYViewController -- (void)setDelegate:(id)delegate { +- (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