运行我的应用程序一段时间后,iPod 中的 WiFi 断开
我的应用程序和用于开发的 iPod 存在 wifi 问题。其他用户也报告了与我的应用程序相同的问题。
该应用程序使用套接字保持开放连接,我在顶部显示连接状态。断开连接时应用程序也会重新连接。
我的 iPod 的 WiFi 信号每 1 分钟就会下降一次,最终会下降,直到:我将电源插入 iPod 或退出应用程序。
这确实是一个让我抓狂的问题:-P
iPod iOS 版本是 5.0.1
你知道我能做什么来解决这个问题吗?其他人有同样的连接问题吗?
提前致谢。
编辑:添加日志: http://pastebin.com/hYVs5Vat
编辑2:似乎我有两个不同的问题, 1 - 无线网络每分钟都会掉线和连接。 2-应用程序完全断开wifi。 [已解决]
第一个看起来是 iPod 与路由器问题,而不是应用程序故障。
I have wifi issues in with my application and the iPod I use for development. Other users have reported the same problems with my app.
The app keeps an open connection using sockets, and I show the connection status on top. Also the application reconnects when is disconnected.
The wifi signal of my iPod drops every 1 minute, and eventually, it drops until: I plug a power-source to the iPod or I exit the application.
It's really and issue that is driving me crazy :-P
The iPod iOS version is 5.0.1
Do you know what can I do to fix this problem? Did anybody else have the same connection problems?
Thanks in advance.
Edit: Added log: http://pastebin.com/hYVs5Vat
Edit2: Seems that I have two different problems,
1- the wifi dropping and coming every minute.
2- the application disconnecting completely the wifi. [SOLVED]
The 1st one looks to be an iPod vs router problem, not applications fault.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试设置
应用程序在 plist 中 布尔值“YES”。如果您不这样做,它会在一段时间后关闭 WiFi 以节省电池。
You can try setting the
boolean to YES in the plist. If you don't then it turns off the WiFi after some time to save battery.