【发布时间】:2011-08-31 12:15:18
【问题描述】:
在我的 iphone 应用程序中,我通过以下方法返回了“是”,它可以正常工作并且屏幕正在旋转,但在横向模式下内容不适合屏幕
以下是我使用的代码
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
以下是我的输出
如何在屏幕旋转时使屏幕内容适合屏幕尺寸,谁能帮助我,谢谢提前,
【问题讨论】:
标签: iphone objective-c xcode device-orientation landscape-portrait