强制旋转到横向
答
试试这个
在plist中改变支持的接口方向以Lansdscape
OR
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); // home button on right
}
全部最好
答
您可以更改项目的info.plist,以便您的应用始终最初显示Landscape。然后您可以让您的视图控制器仅支持横向。
希望这也有助于
thanx!有效! – CosmicRabbitMediaInc 2011-03-10 04:50:34