求救! 多点触控怎么都不行

void GameLayer::touchBegan(const std::vector<Touch*>& touches, Event * event)
{

};
void GameLayer::touchMoved(const std::vector<Touch*>& touches, Event * event)
{

};

void GameLayer::touchEnded(const std::vector<Touch*>& touches, Event * event)
{

};
touches怎么弄都只有一个元素
只有最新的那个

auto listener = EventListenerTouchAllAtOnce::create();
listener->onTouchesBegan =…

auto dispatcher = Director::getInstance()->getEventDispatcher();
auto touchListener = EventListenerTouchAllAtOnce::create();
touchListener->onTouchesBegan = CC_CALLBACK_2(GameLayer::touchBegan, this);
touchListener->onTouchesMoved = CC_CALLBACK_2(GameLayer::touchMoved, this);
touchListener->onTouchesEnded = CC_CALLBACK_2(GameLayer::touchEnded, this);
dispatcher->addEventListenerWithSceneGraphPriority(touchListener, this);
   都写了不行

传送门 http://www.cocoachina.com/bbs/read.php?tid=196254

:14:ios需要另外开启