fix orientation issues

This commit is contained in:
Diego Waxemberg
2014-10-20 21:39:40 -04:00
parent ca2fe9b0a3
commit af43539015
4 changed files with 39 additions and 3 deletions

View File

@@ -40,4 +40,16 @@
// Dispose of any resources that can be recreated.
}
- (BOOL)shouldAutorotate {
return YES;
}
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight;
}
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
return UIInterfaceOrientationLandscapeLeft;
}
@end