iPhone:如何从我的应用程序在iPhone中设置AIRPLANE MODE和AUTOLOCK设置 [英] iPhone:How to set AIRPLANE MODE and AUTOLOCK settings in iphone from my app
问题描述
我想从我的应用程序中设置AIRPLANE MODE和AUTOLOCK设置.
I want to set AIRPLANE MODE and AUTOLOCK settings from my app.
最初,我想从iPhone设置中获取它.
Initially I want to fetch it from iphone settings.
如图所示,我要说的是,如果我从应用程序更改了AIRPLANE MODE和AUTOLOCK设置,则应该在iPhone设置中进行更改.
As shown in the figure what I want to say is if I change AIRPLANE MODE and AUTOLOCK settings from my app it should be changed in the iPhone settings.
对此,我必须参考的任何代码或链接?
For this any code or link which I have to refer?
推荐答案
您不能.
我了解jrturton想要说的是-是的,您可以在应用程序运行时暂时禁用自动锁定 ,但是您无法从应用程序中更改这些系统设置.
I understand what jrturton was trying to say - and yes, you can temporarily disable auto lock while your application is running but you can't change these system setting from your app.
这篇关于iPhone:如何从我的应用程序在iPhone中设置AIRPLANE MODE和AUTOLOCK设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!