diff options
author | Grant Paul <chpwn@chpwn.com> | 2010-12-11 23:28:51 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2010-12-11 23:28:51 -0800 |
commit | d817e4de92bfa802bb2122711cf70f747a64aa3f (patch) | |
tree | a46161981e4ea9ccb35d08a074e2d14cb3bf585b /UICaboodle | |
parent | a2bd7a7305fc62b7e218cb206b56f35d3a880f28 (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.mm | 9 |
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 |