使用iOS4时,无线连接在睡着时无法保持活动状态 [英] Wifi connection doesn't stay alive when asleep, with iOS4

查看:116
本文介绍了使用iOS4时,无线连接在睡着时无法保持活动状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

知道iOS4支持wifi在睡着时保持活着真的很开心。但是我得到了一些不同的体验:
我有2台iPod,iPod第二代和iPod第三代。两者都更新到iOS 4测试版。 iPod 2g可以在睡眠中保持wifi状态,而iPod 3g在睡眠时总是会断开wifi。我在他们处于睡眠模式时对他们两个进行ping操作,只有iPod 2g保持回复回音。

Knowing that iOS4 support wifi stay alive in asleep is really happy thing. However I got some different experience: I've got 2 iPods, iPod 2nd gen & iPod 3rd gen. Both updated to iOS 4 beta. iPod 2g can stay wifi on in sleep while iPod 3g always disconnect wifi in sleep. I ping both of them while they're in sleep mode, only iPod 2g keeps reply echo.

可能经常提示我表明我做错了吗?

Could any often a hint to show the point I'm doing wrong?

推荐答案

在你的plist上添加这个测试:

Test with adding this on your plist :

UIRequiresPersistentWiFi = YES

有了这个,wifi在所有生命中都是活着的你的应用。

With this the wifi is alive during all the life of your app.

这篇关于使用iOS4时,无线连接在睡着时无法保持活动状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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