解决方案 »

  1.   

    工程设置把横、竖屏都打开,然后在ViewController里面去处理看看
      

  2.   

    不能打开,上面要求是游戏只能横屏 ,但是要插入广告,需要跳出一个竖屏的view 。如果可以全打开就好了!
      

  3.   

    不能打开,上面要求是游戏只能横屏 ,但是要插入广告,需要跳出一个竖屏的view 。如果可以全打开就好了!
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation NS_DEPRECATED_IOS(2_0, 6_0);
    - (BOOL)shouldAutorotate NS_AVAILABLE_IOS(6_0);
    - (NSUInteger)supportedInterfaceOrientations NS_AVAILABLE_IOS(6_0);
    - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation NS_AVAILABLE_IOS(6_0);
    你用这几个方法不能控制游戏的VC能不能只横屏??
      

  4.   

    不能打开,上面要求是游戏只能横屏 ,但是要插入广告,需要跳出一个竖屏的view 。如果可以全打开就好了!
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation NS_DEPRECATED_IOS(2_0, 6_0);
    - (BOOL)shouldAutorotate NS_AVAILABLE_IOS(6_0);
    - (NSUInteger)supportedInterfaceOrientations NS_AVAILABLE_IOS(6_0);
    - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation NS_AVAILABLE_IOS(6_0);
    你用这几个方法不能控制游戏的VC能不能只横屏??
    关键是游戏不是我们控制的,我们负责写接口,需要兼容他的全局横屏模式!我们是控制不了的!
      

  5.   

    不能打开,上面要求是游戏只能横屏 ,但是要插入广告,需要跳出一个竖屏的view 。如果可以全打开就好了!
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation NS_DEPRECATED_IOS(2_0, 6_0);
    - (BOOL)shouldAutorotate NS_AVAILABLE_IOS(6_0);
    - (NSUInteger)supportedInterfaceOrientations NS_AVAILABLE_IOS(6_0);
    - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation NS_AVAILABLE_IOS(6_0);
    你用这几个方法不能控制游戏的VC能不能只横屏??
    关键是游戏不是我们控制的,我们负责写接口,需要兼容他的全局横屏模式!我们是控制不了的!
    那就不是技术原因了,该让他们改就让他们改,不怕