IOS开发退出应用程序的代码
时间:2014-07-23 00:01:17
收藏:0
阅读:1886
IOS 开发中,我知道的两个退出程序的方法:
1.
exit(0);2.
if([[UIApplication sharedApplication] respondsToSelector:@selector(terminateWithSuccess)]){
[[UIApplication sharedApplication] performSelector:@selector(terminateWithSuccess)];
}
评论(0)