如何使用 cocos2d-js 加载原生 IOS xib?

How to load native IOS xib using cocos2d-js?

我正在尝试在 cocos2d-js 中为交叉板形式的特定场景加载 xib 视图。因为某些功能在 cocos2d-js 中不可用,所以我正在尝试加载 xib。简而言之,有时我想 运行 场景,有时我想加载 xib。请帮我怎么做?

-(IBAction)LoadNativeXib:(id)sender
{
    cocos2d::Director::getInstance()->pause();
    cocos2d::Director::getInstance()->stopAnimation();
    CocosDenshion::SimpleAudioEngine::getInstance()->pauseBackgroundMusic();
    CocosDenshion::SimpleAudioEngine::getInstance()->pauseAllEffects();

    //here you can load native xib
    [self.navigationController popViewControllerAnimated:YES];
       //  OR
    [self.view addSubview:_viewIos];
}