WiFi drops in iPod after a while running my application

本小妞迷上赌 提交于 2020-01-15 08:30:12

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/8121526/wifi-drops-in-ipod-after-a-while-running-my-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!