VOIP和后台功能

时间:2013-10-03 08:56:01

标签: ios voip background-process xmppframework

我需要在后台持续运行我的应用程序(不是定期),同时支持iOS 6。

我运行http://www.raywenderlich.com/29948/backgrounding-for-ios示例,该版本运行良好一段时间,但过了一段时间(我猜是10分钟限制或100多次ping)它会崩溃。

以下是崩溃日志

Application Specific Information:
BKUnsuspendLimit TheBackgrounder[5183] exceeded 15 wakes in 300 sec

如何避免此次崩溃?

1 个答案:

答案 0 :(得分:1)

有一种可能的'黑客'可以让你的应用在后台无限期运行。但请注意,Apple会立即拒绝您的应用。

Pastebot在后台循环播放静音MP3,以保持自身持续活跃。 You can read more about that process and Apple's rejection of it here.