运行我的应用程序一段时间后,iPod 中的 WiFi 断开

发布于 2024-12-15 12:58:35 字数 496 浏览 2 评论 0原文

我的应用程序和用于开发的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

做个ˇ局外人 2024-12-22 12:58:35

您可以尝试设置

应用程序使用 WiFi

应用程序在 plist 中 布尔值“YES”。如果您不这样做,它会在一段时间后关闭 WiFi 以节省电池。

You can try setting the

Application uses WiFi

boolean to YES in the plist. If you don't then it turns off the WiFi after some time to save battery.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文