IOS启动页和第一个场景之间有黑屏

creator 2.3.0 ios

lauchimage 已配置

之前在1.9.0 是正常的

两个版本构建出来的RootViewController不一样

1.9.0
// Implement loadView to create a view hierarchy programmatically, without using a nib.

  • (void)loadView {
    // Initialize the CCEAGLView
    CCEAGLView *eaglView = [CCEAGLView viewWithFrame: [UIScreen mainScreen].bounds
    pixelFormat: (__bridge NSString *)cocos2d::GLViewImpl::_pixelFormat
    depthFormat: cocos2d::GLViewImpl::_depthFormat
    preserveBackbuffer: NO
    sharegroup: nil
    multiSampling: NO
    numberOfSamples: 0 ];

    // Enable or disable multiple touches
    [eaglView setMultipleTouchEnabled:YES];

    // Set EAGLView as view of RootViewController
    self.view = eaglView;
    }

2.3.0

// Implement loadView to create a view hierarchy programmatically, without using a nib.

  • (void)loadView {
    // Set EAGLView as view of RootViewController
    self.view = (__bridge CCEAGLView *)cocos2d::Application::getInstance()->getView();
    }

不知道什么原因

这个问题解决了吗

可以参考下这个帖子