just add a invisable layer which
swallowtouches.
注:
Whenyou register CCTouchDispatcher you have to use lower priority thanyour containing layer if you want to swallow all touches. Latestcocos2d uses kCCMenuHandlerPriority (whichis -128) for menus. So, if you have menu items in parent layer,register CCTouchDispatcher with prioritye.g. kCCMenuHandlerPriority-1and it will swallow all touches