]> 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 b22533304f22c0cdaf4c1c5f9383a5e792830a90..81c8739c37b145f3aef6f788e5a17d52aa49d907 100644 (file)
@@ -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