In my case, I have to enable/ disable touch for CCEditbox. I see that CCEditbox hasn’t support this API yet. It depends on the android/ios control system. Does anyone face and solve this problem ?
You can try adding it to a different layer and enabling/disabling touches on it.
In my case, i running on Ios simulator, CCEditbox is controlled by adding UITextField to the View. And it doesn’t follow the touch rules in cocos2dx. And I think this way can not solve this problem.