开发者

How to programmatically change iPhone settings

开发者 https://www.devze.com 2022-12-29 21:46 出处:网络
It is possible to change iPhone settings from an application? I want to change settings like enable/disable WIFI, enable/disable vibrations, change ring tone, enable/disable bluetooth, call forwarding

It is possible to change iPhone settings from an application? I want to change settings like enable/disable WIFI, enable/disable vibrations, change ring tone, enable/disable bluetooth, call forwarding, mail 开发者_StackOverflowaccounts, etc. I want to be able to change all settings programmatically. I would appreciate some sample code.

Thanks for any help.


You cannot do this unless your application is run on a jailbroken phone.


You can do some of these items programatically on a non-jailbroken phone. Toggling Bluetooth is discussed here, and it's very easy to get working. Programmatically turn on bluetooth in the iphone sdk?

I am not sure about the other items. Of course you cannot submit this code to the app store, but for personal use it can be very handy.

0

精彩评论

暂无评论...
验证码 换一张
取 消