关于开发iPad项目只支持横屏显示的设置
2016-10-08 14:29
176 查看
[[UIApplication
sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft
animated:NO];
self.view.bounds =
CGRectMake(0,
0, self.view.frame.size.width,
self.view.frame.size.height);
self.view.transform =
CGAffineTransformMakeRotation(M_PI*0.5);
sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft
animated:NO];
self.view.bounds =
CGRectMake(0,
0, self.view.frame.size.width,
self.view.frame.size.height);
self.view.transform =
CGAffineTransformMakeRotation(M_PI*0.5);
相关文章推荐
- 将Ipone项目转到Ipad平台以及开发同时支持这两个平台的项目 .
- IOS开发之----Xcode非ARC项目中设置部分文件ARC支持
- 关于ios11开发,window层不显示view,项目图片不显示。
- 开发同时支持iphone&ipad这两个平台的项目
- 我的VS2005采用的是web开发设置。不知道动到了那里,现在每次按F5启动调试的时候总是不能成功启动调试。效果和按CTRL+F5一样。就是把项目显示在了浏览器之后,那个启动调试的绿色按钮还可以使用,不是暗色的。
- 转:IOS开发之----Xcode非ARC项目中设置部分文件ARC支持
- 关于ionic开发的一些总结(项目启动设置,app图标名称更改)
- IOS开发之----Xcode非ARC项目中设置部分文件ARC支持
- 将ipone项目转到ipad平台以及开发同时支持这两个平台的项目
- IOS开发之----Xcode非ARC项目中设置部分文件ARC支持
- iOS开发~iOS9中iPad横屏时cell不正常显示
- windows游戏开发中一个关于Visual Studio的编译链接成功,输出窗口却显示线程已退出。无法运行项目的问题
- IOS开发之----Xcode非ARC项目中设置部分文件ARC支持
- iOS开发(iPad/iPhone)设置app界面 默认横向显示的两种方法
- iOS开发(iPad/iPhone)设置app界面 默认横向显示的两种方法
- [已解]如何设置xib 中 ipad 的开发模式为横屏
- C# WinForm开发系列之DataTimePicker控件显示月份的限制和关于DataTimePicker和monthCalendar的样式设置问题
- 关于软件需求开发和项目的范围管理
- 关于hook设置函数如何支持多核CPU的一个说明
- 技术支持与项目开发分离 推荐