如何杀死iPhone中的背景运行应用程序? [英] How do I kill a back ground running app in iphone?

查看:124
本文介绍了如何杀死iPhone中的背景运行应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道如何在iphone中杀死背景进程/应用程序。就像在Auto Lock SBSettings中一样,进程切换能够列出所有后台进程并允许用户杀死其中任何一个。

I just want to know how to kill a back ground process/app in iphone. Just like in Auto Lock SBSettings where, the "process" toggle is able to list all the back ground process and allows user to kill any of them.

提前致谢。

感谢'refulgentis','Chuck'以便您快速回复。

Thanks 'refulgentis', 'Chuck' for your quick responses.

你是对的,我也知道Apple的公共API不允许我这样做。在监狱破坏的手机中我该怎么办? SBSettings'进程'切换如何做同样的事情?

You're true and also I know that the Apple's public API doesn't allow me to do so. In a jail broken phone how could I do this? How "SBSettings" 'processes' toggle is doing the same?

我的要求是杀死并重启我的Phone(MobilePhone.app)应用程序。在这种情况下,我该如何进一步处理?

My requirement is to kill and restart my "Phone (MobilePhone.app)" application. In this case how can I proceed further?

你能给我一些示例代码吗?

Can you please give me some sample piece of code?

推荐答案

您不能使用公共API。你写的任何东西都不允许在App Store上。

You can't, using the public API. Anything you write wouldn't be allowed on the App Store.

对于越狱应用程序,只需使用 ps -ax kill

For jailbroken apps, just use ps -ax and kill.

这篇关于如何杀死iPhone中的背景运行应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆