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