[iOS] iOS 5 rotation support

This commit is contained in:
Kirill Zhdanovich 2013-08-13 22:27:22 +03:00
parent 665d28d88f
commit 9bd6805828
3 changed files with 16 additions and 0 deletions

View file

@ -247,4 +247,9 @@
[vc loadPage:url];
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
@end

View file

@ -249,4 +249,10 @@ shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherG
{
return [self.webView.request.URL absoluteString];
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
@end

View file

@ -82,4 +82,9 @@
GuideNavVC.viewControllers = @[guide];
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
@end