iPhone/iPad 开发 退出程序的方法(就像按下HOME键的效果)
if([application respondsToSelector:@selector(terminateWithSuccess)]){ [application performSelector:@selector(terminateWithSuccess)]; }
if([application respondsToSelector:@selector(terminateWithSuccess)]){ [application performSelector:@selector(terminateWithSuccess)]; }