Какие все методы необходимы для iOS 6 для ориентации? то, что я использовал, дано ниже, достаточно ли этого?Обращение в iOS6, iPhone?
- (BOOL)shouldAutorotate
{
return YES;
}
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskLandscape;
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
if (UIInterfaceOrientationLandscapeLeft == interfaceOrientation || UIInterfaceOrientationLandscapeRight == interfaceOrientation) {
return YES;
} else {
return NO;
}
}
Я хочу, чтобы сделать работу приложений как в iOS5 и iOS6
выбраны неправильные ориентации! – trojanfoe
@trojanfoe: это просто изображение, чтобы показать, где установить, а не фактическое –