Как изменить UIImageView на landscapemode? У меня есть UIImageview.whe он повернул его все еще в режиме potrait. код:Как изменить UIImageView на landscapemode?
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
}
где прикрепляется ваш UIImageView, я имею в виду ... пытаются повернуть UIImageView или UIViewController? – klefevre
Я пытаюсь повернуть UNImageView – user771385
Если вы создали подкласс UIImageView, вы не сможете его поворачивать так. Этот метод является методом делегата UIViewController. Вы добавили свой UIImageView в UIViewController? – klefevre