Мой вид имеет неправильные размеры. Я работаю только в ландшафтном режиме, но в представлении отображаются портретные размеры «Ширина просмотра = 768,000000 Высота = 1024,000000». Есть идеи, как это исправить? Я играл с автоповоротом, я пробовал
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft|| interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
а также
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
Это выглядит хорошо на виде, но размеры действительно портят мое приложение.