내 앱에 배경 이미지가 있습니다. 기기를 회전하면 모든 위젯은 회전되지만 배경 이미지는 회전하지 않습니다.shouldAutorotateToInterfaceOrientation 및 이미지 회전
는shouldAutorotateToInterfaceOrientation
의 내 구현은 정직
:
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
어떤 힌트? 당신은 자동 스케일링을하려면
감사합니다, 샤샤
저주! 내 말은 : 배경 이미지는 회전되지만 크기는 조정되지 않는다는 의미입니다. – Sascha