]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVPage.mm
Workaround to fix the Settings Controller popup on initial launch.
[cydia.git] / UICaboodle / RVPage.mm
index aecf0d3bcdcd53c3887523b3170fb10b188715d1..81c8739c37b145f3aef6f788e5a17d52aa49d907 100644 (file)
@@ -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