summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2010-12-11 23:28:51 -0800
committerGrant Paul <chpwn@chpwn.com>2010-12-11 23:28:51 -0800
commitd817e4de92bfa802bb2122711cf70f747a64aa3f (patch)
treea46161981e4ea9ccb35d08a074e2d14cb3bf585b /UICaboodle
parenta2bd7a7305fc62b7e218cb206b56f35d3a880f28 (diff)
Cleanup my stupidity: remove logging, fix landscape back buttons (via delegation to parent view controllers), and such.
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