摘要:
使用cocos2dx 自带的xcode模板,是不能正常的设置为横屏的。一共修改了三个地方:在项目属性中:Deployment Info中,勾选上 Landscape left,以及Landscape Right(如果需要)在RootViewController.mm 中,添加上两个函数:-(NSUInteger)supportedInterfaceOrientations{ return UIInterfaceOrientationMaskLandscape;// return UIInterfaceOrientationMaskPortrait;}-(BOOL)shouldAut... 阅读全文
posted @ 2013-10-03 22:08
CC_Sir
阅读(289)
评论(0)
推荐(0)

浙公网安备 33010602011771号