Airplane mode on iPod Touch — revisited

做~自己de王妃 提交于 2019-12-02 11:16:29

问题


The situation is this: We have an app that records sound. If the app is running on a second generation iPod Touch and airplane mode is OFF then there are periodic noises that end up in the recording due to the WIFI activity of the iPod.

So I want to detect that we're running on a second generation iPod Touch (which I know how to do), and, if so, tell the user to turn on airplane mode, if it's not already on. Note that it's NOT SUFFICIENT to simply know that WIFI is unreachable as the iPod will continue to try to "talk" to WIFI every 12 seconds, even if there is no WIFI connection available.

So, does anyone know of a way to determine if airplane mode is on or off?


回答1:


There appears to be no way to do this.



来源:https://stackoverflow.com/questions/9981427/airplane-mode-on-ipod-touch-revisited

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