cocos2d 2.0 反正屏修改

cocos2d 2.0 横竖屏修改在AppDelegate.m文件修改下面方法- (BOOL)shouldAutorotateToInterfaceOrientation

cocos2d 2.0 横竖屏修改

在AppDelegate.m文件修改下面方法

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{   //竖屏   return ( UIInterfaceOrientationIsPortrait( interfaceOrientation ) );   //横屏  return ( UIInterfaceOrientationIsLandscape( interfaceOrientation ) );}
?