iPhone后台应用在Ad-hoc分布? [英] iPhone Background App in Ad-hoc distribution?

查看:108
本文介绍了iPhone后台应用在Ad-hoc分布?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够确保iphone总是连接到网络。如果它失去接待我需要能够向用户发出警告。因为我看到这个工作是使用一个后台进程的唯一方法是有可能使用私人API,以便应用程序可以在后台运行。

I need to be able to ensure that the iphone is always connected to a network. If it loses reception I need to be able to warn the user. Since the only way I see this working is using a background process is it possible to use private APIs so that the app can run in the background.

我知道它可以越狱的手机来完成,但我宁愿不越狱的手机。

I know it can be done with Jailbroken phones but I would rather not Jailbreak the phones.

推荐答案

如果你的意思是有在运行一个应用程序这种行为;检查出的可达样本。

If you mean having this behavior while running an app; check out the Reachability sample.

如果在不运行应用程序,你的意思是有此行为;退房的Andr​​oid

If you mean having this behavior while not running an app; check out Android.

这篇关于iPhone后台应用在Ad-hoc分布?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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