xcode 4.6.3 用cocos2d-iphone+box2d模拟器设置竖屏问题
来源:互联网 发布:python的ddt怎么用 编辑:程序博客网 时间:2024/06/18 06:43
1,在AppDelegate.mm 文件中将下面的将注释掉
//-(NSUInteger)supportedInterfaceOrientations {
//
// // iPhone only
// if( [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone )
// return UIInterfaceOrientationMaskLandscape;
// return UIInterfaceOrientationMaskPortrait;
// // iPad only
// return UIInterfaceOrientationMaskLandscape;
//}
//
//// Supported orientations. Customize it for your own needs
//// Only valid on iOS 4 / 5. NOT VALID for iOS 6.
//- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
//{
// // iPhone only
// if( [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone )
// //return UIInterfaceOrientationIsLandscape(interfaceOrientation);
// return UIInterfaceOrientationIsPortrait(interfaceOrientation);
// //return UIInterfaceOrientationMaskAll;
// // iPad only
// // iPhone only
// return UIInterfaceOrientationIsLandscape(interfaceOrientation);
//
//}
折磨了很久,版本不一样头疼。
- xcode 4.6.3 用cocos2d-iphone+box2d模拟器设置竖屏问题
- 如何设置xcode中iPhone模拟器类型
- iPhone/iPad xcode模拟器截屏功能
- xcode 4.6安装老版本iphone sdk 安装iphone 模拟器
- xcode iphone模拟器所在文件夹
- Xcode模拟器大小设置
- cocos2d/box2d技术问题汇总
- cocos2d/box2d技术问题汇总
- Box2D C++ 教程-开发环境设置(iPhone)
- Cocos2d-x Box2D物理引擎编译设置
- xcode之模拟器大小设置
- xcode之模拟器大小设置
- xcode之模拟器大小设置
- 将safari设置iPhone模拟器
- 用Xcode开发iPhone的问题集锦
- 【iphone游戏开发】cocos2d和box2d API 文档
- 【iphone游戏开发】cocos2d和box2d API 文档
- cocos2d, Box2D
- progressBar自定义图片(圈圈等待)
- 急救啊,c++的一个字符串中删除指定的字符串,
- 性能测试必备SQL语句总结
- 修改jQuery表格插件flexigrid源码添加自定义功能(2)
- plist Bundle
- xcode 4.6.3 用cocos2d-iphone+box2d模拟器设置竖屏问题
- 内核链表---Linux TCP/IP协议源码分析
- ASP.NET弹出新窗口的方法【显示提示信息】
- robotium 方法学习实例
- for循环执行效率
- 关于位操作的详细说明
- UIActivityIndicatorView使用简单介绍(风火轮)
- 图形学实验1-绘制人脸
- linux下安装apache步骤