我的應用程序有一個圖像作爲背景,如果我旋轉設備,所有部件和旋轉,但不是背景圖像。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 2010-12-07 20:36:53