CCDirector::sharedDirector()->pause(); // 游戏暂停 CCDirector::sharedDirector()->resume();//游戏恢复 转载于:https://blog.51cto.com/7097095/1231575