您的位置:首页 > 其它

coco2d-x 2.0 + 版本设置竖屏

2013-08-05 22:00 253 查看
全局搜索
supportedInterfaceOrientations方法

然后替换成

// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
//return UIInterfaceOrientationMaskLandscape;
return UIInterfaceOrientationMaskAllButUpsideDown;
#endif
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: