iphone cocos turn off the iphone in program