我的应用程序有一个图像作为背景,如果我旋转设备,所有部件和旋转,但不是背景图像。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