以编程方式激活飞行模式? [英] Activate airplane mode programmatically?

查看:102
本文介绍了以编程方式激活飞行模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何在iPhone(OS 2.1)上以编程方式取消/激活飞机模式?

Does anyone know how to de/activate the airplane mode programmatically on the iPhone (OS 2.1)?

推荐答案

它是不可能使用公共API执行此操作,这意味着Apple不会批准App Store的应用程序执行此操作。

It is not possible to do this with the public APIs, which means that Apple won't approve an app for the App Store that does this.

当然,您通常不应该'无论如何,这样做。我很想知道你的理由。

Of course, you generally shouldn't do this anyway. I'm curious to hear the reason you had in mind.

这篇关于以编程方式激活飞行模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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