]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVPage.mm
Fix 'resubmit form' dialog: new alert API crash.
[cydia.git] / UICaboodle / RVPage.mm
index b22533304f22c0cdaf4c1c5f9383a5e792830a90..4a8ea5de01e40ce518a7edc06b0c8fa37d5e85d4 100644 (file)
@@ -5,10 +5,17 @@
 
 #import "RVBook.h"
 
-@implementation UCViewController
+@implementation CYViewController
 - (void)setDelegate:(id)delegate {
     delegate_ = delegate;
 }
 - (void) reloadData {
 }
-@end
\ No newline at end of file
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
+    if ([self parentViewController]) {
+        return [[self parentViewController] shouldAutorotateToInterfaceOrientation:orientation];
+    } else {
+        return [super shouldAutorotateToInterfaceOrientation:orientation];
+    }
+}
+@end