xcode4.5 iOS6 cocos2d-x 横屏解决方案
原文:http://blog.csdn.net/nong1209/article/details/8148601
1.在 RootViewController.m总增加
|
1
2
3
4
5
6
7
8
|
-(NSUInteger)supportedInterfaceOrientations{ returnUIInterfaceOrientationMaskLandscape;}-
(BOOL)shouldAutorotate
{ returnYES;} |
2.在 AppDelegate.m 中增加
|
1
|
window.rootViewController
= viewController; |
浙公网安备 33010602011771号