iOS -- ipad横屏应用的设置

1.支持横竖屏,但默认打开时是横屏   [[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft animated:YES];    //Landscape开头的是横屏   -(BOOL)shouldAutorotateToInterfaceOrientation:(
相关文章
相关标签/搜索