系统(“杀死所有SpringBoard”);无法在ios4.2.1 中工作?

发布于 2024-10-08 12:39:21 字数 158 浏览 0 评论 0原文

所以我创建了一个使用命令系统的应用程序(“killall SpringBoard”);它在 4.0 - 4.1 上运行得很好。我最近刚刚开始在 4.2 上测试该应用程序,当我在模拟器中运行它时它仍然可以工作,但是当我在设备上运行它时什么也没有发生。有谁知道这是什么原因?该设备是 iPhone 3GS。

So I had created an app that used the command system("killall SpringBoard"); and it has worked just fine on 4.0 - 4.1. I just recently began testing the app on 4.2 and it still works when I run it in simulator, but when I run it on the device nothing happens. Does anyone know what the cause of this is? The device is a iPhone 3GS.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

流云如水 2024-10-15 12:39:21

如果你想干净地重新启动SpringBoard,请使用

notify_post("com.apple.language.changed");

If you want to restart SpringBoard cleanly, please use

notify_post("com.apple.language.changed");
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文