Xcode 6.0.1 luanch images问题

升级xcode后launch images和app icons合成了一个地方,但是不能像以前一样指定图片了?现在是只能选use asset catalog来指定图片了吗?:11::11:

图片如上

同问,楼主解决了吗???

解决了,已经不能指定图片了,只能用catalog了

http://www.cocoachina.com/ask/questions/show/104394

我知道现在只有6+才可以设置横版的 iphone 5 5s 6 能实现横版?

你给那个就是用了catalog,而且你那个xcode版本还可以不用catalog的,Xcode6只能用catalog了。

可以啊,在程序里设置在RootViewController里加这三个就行了

  • (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    return UIInterfaceOrientationIsLandscape( interfaceOrientation );
    }

// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead

  • (NSUInteger) supportedInterfaceOrientations{
    #ifdef __IPHONE_6_0
    return UIInterfaceOrientationMaskLandscape;
    #endif
    }

  • (BOOL) shouldAutorotate {
    return YES;
    }

不是这个意思 。我能横版 就是 启动页面不显示 在 4s 5 5s 6 6+可以显示 。。这个问题一直困扰我。。

我的游戏就是横版,你把游戏设置成竖屏启动,在info.plist启动方式用两个,竖屏在第一个,横屏在第二个,然后用我给你的那三个函数,如果你是Xcode6以上版本用catalog,每个启动图按他指定的尺寸给,就可以显示横屏启动图了,我的在4s,5,5s,6上都能显示横屏启动图

谢谢你的思路 。我在补充下 。
1、如果你的游戏支持横屏 切iphone ipad 都支持 则启动图片你要准备 横竖 所有尺寸的图片。
2、在info.plist启动方式用两个 或者三个,竖屏第一个,横屏二个
3、在程序里设置在RootViewController里修改为 return UIInterfaceOrientationMaskLandscape;

  • (NSUInteger) supportedInterfaceOrientations{
    #ifdef __IPHONE_6_0
    return UIInterfaceOrientationMaskLandscape;
    #endif
    }
    4、AppController.mm中 ; 这句代码 放在以下代码的前面
    if ( .systemVersion floatValue] < 6.0)
    {
    // warning: addSubView doesn’t work on iOS6
    ;
    }
    else
    {
    // use this method on ios6
    ;
    }
    5、我的平台是xcode6 + cocos2dx3.2 测试了 7.1 8.0的模拟器

最后如果有问题 在一起讨论下 。