打开  RootViewController.m ,然后所有搜索如下代码: 

Ios代码  
#elif GAME_AUTOROTATION == kGameAutorotationUIViewController  
     //  
     // EAGLView will be rotated by the UIViewController  
     //  
     // Sample: Autorotate only in landscpe mode  
     //  
     // return YES for the supported orientations   
   
     return ( UIInterfaceOrientationIsLandscape( interfaceOrientation ) );  


将最后return的修改成如下代码即可竖屏: 
Ios代码  
return ( UIInterfaceOrientationIsPortrait( interfaceOrientation ) );  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
  • 2021-11-16
  • 2021-12-17
  • 2022-12-23
相关资源
相似解决方案