有时候需要用代码的方式关闭程序,其实功能就像按了home键。
这两种可以用
[self performSelector:@selector(notExistCall)];
abort();
这两种是私有的,不能通过app store.
[[UIApplication sharedApplication] performSelector:@selector(terminateWithSuccess)];
exit(0);
有时候需要用代码的方式关闭程序,其实功能就像按了home键。
这两种可以用
[self performSelector:@selector(notExistCall)];
abort();
这两种是私有的,不能通过app store.
[[UIApplication sharedApplication] performSelector:@selector(terminateWithSuccess)];
exit(0);
最近有很多人反应在触发Back按钮后,程序没有完全退出,依然可以通过DDMS看到程序
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M