addTargetedDelegate not work in jsb

addTargetedDelegate not work in jsb
0.0 0


cc.Director.getInstance().getTouchDispatcher().addTargetedDelegate(node, priority, true) works well in browser,but not work in Jsb .

cc.registerTargetedDelegate(priority, true, node) can work (no errors) , but can’t delegate successfully


i’ve just upgrade to 2.2, here is the changed code see if it helps you.
cc.Director.getInstance().getTouchDispatcher().addTargetedDelegate(vTarget, 0, true);
cc.registerTargetedDelegate(0, true, vTarget);