Я установил shouldAutorotateToInterfaceOrientation, чтобы вернуться к YES для ориентации, но я заметил, что как iPhone вращается, так и фон поворачивается, что UIImageView. Как исправить фон, чтобы он не вращался?
shouldAutorotateToInterfaceOrientation
UIImageView
это, казалось, добилось цели. у меня все исправлено в ландшафтном режиме.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); }