fix orientation issues

This commit is contained in:
Diego Waxemberg 2014-10-20 21:39:40 -04:00
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