我想在iPad应用程序中显示启动画面。在此之前,我想获取当前设备方向的横向或纵向模式。我用过,UIInterfaceOrientationorientation=[[UIApplicationsharedApplication]statusBarOrientation];if(orientation==UIInterfaceOrientationLandscapeRight||orientation==UIInterfaceOrientationLandscapeLeft){splachview=[[UIImageViewalloc]initWithFrame:CGRectMake(0