From d817e4de92bfa802bb2122711cf70f747a64aa3f Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Sat, 11 Dec 2010 23:28:51 -0800 Subject: Cleanup my stupidity: remove logging, fix landscape back buttons (via delegation to parent view controllers), and such. --- UICaboodle/RVPage.mm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'UICaboodle') 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 -- cgit v1.2.3