cocos2dx,iOS项目发布到App Store应用为什么有的点击事件没有了

cocos2dx,iOS项目通过审核,到了App Store应用为什么有的点击事件没有了,为什么?有人可以帮帮忙不

具体。。。。。。。。。。。。

void GoodsSprite::onTouchEnded(Touch touch, Event evt){
if(is_turing_of_pageview){
is_turing_of_pageview=false;
return;
}

Point touch_point = touch->getLocation();

//if (touch_start_point == touch_point){
if (touch_rect.containsPoint(this->convertTouchToNodeSpaceAR(touch))){
    
    auto dispatcher = Director::getInstance()->getEventDispatcher();
    
    switch (goods_state){
    case is_shop_scene:
        
        dispatcher->dispatchCustomEvent("shopGoodsCustomEvent", &shop_id);
                    //感觉就是没有调用这个自定义事件

        break;
    case is_goods_scene:
        dispatcher->dispatchCustomEvent("goodsSceneGoodsCustomEvent", &shop_id);
        break;
    default:
        break;
    
    }
}

}

shopGoodsCustomEvent

我不知道你什么事件

如果是有接入sdk的话 很有可能是网络请求不到 没加载到

如果没有网络问题 估计就是你自己的问题了 上传的版本和你手上的版本不一致

谢谢,我找到问题了