cocos2d-x 3.2 多点触摸 无效

auto listener = EventListenerTouchAllAtOnce::create();
listener->onTouchesBegan = CC_CALLBACK_2(GameLayer::onTouchesBegan,this);
dispatcher->addEventListenerWithSceneGraphPriority(listener, this);

void GameLayer::onTouchesBegan(const std::vector<Touch*>& touches,Event *event){
for( auto &item: touches){
auto touch = item;
Point p = touch->getLocation();
}
}
求教各位大神 为何 2dx 3.2 多点无效代码如上

只能接受到一个点

如果是Xcode的话 AppController.mm 在didFinishLaunchingWithOptions 函数里 添加 ; 即可:14: