iPod Touch 上的飞行模式——重新审视 [英] Airplane mode on iPod Touch -- revisited

查看:34
本文介绍了iPod Touch 上的飞行模式——重新审视的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

情况是这样的:我们有一个记录声音的应用程序.如果应用在第二代 iPod Touch 上运行并且飞行模式关闭,则由于 iPod 的 WIFI 活动,会在录音中出现周期性噪音.

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.

所以我想检测我们是否在第二代 iPod Touch 上运行(我知道该怎么做),如果是这样,告诉用户打开飞行模式(如果它还没有打开).请注意,仅仅知道 WIFI 无法访问是不够的,因为 iPod 将继续每 12 秒尝试与 WIFI 进行对话",即使没有可用的 WIFI 连接.

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?

推荐答案

似乎没有办法做到这一点.

There appears to be no way to do this.

这篇关于iPod Touch 上的飞行模式——重新审视的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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