summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/RVPage.mm9
1 files changed, 8 insertions, 1 deletions
diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm
index 8c702d3..4a8ea5d 100644
--- a/UICaboodle/RVPage.mm
+++ b/UICaboodle/RVPage.mm
@@ -11,4 +11,11 @@
}
- (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