2013年4月17日

Cocos2d-x 设置竖屏的方法 2.0以上版本

摘要: 在网上搜了千百遍终于终于找到对的方法了。。在网上搜的大部分结果是把(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation();函数中的语句改成如注释掉的:(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { returnUIInterfaceOrientationIsLandscape( interfaceOrientation );// r. 阅读全文

posted @ 2013-04-17 15:49 游戏开发:主席 阅读(5243) 评论(0) 推荐(0) 编辑

导航