Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to programmatically change iPhone settings

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 accounts, etc. I want to be able to change all settings programmatically. I would appreciate some sample code.

Thanks for any help.

like image 993
Mircea Ispas Avatar asked Apr 15 '26 00:04

Mircea Ispas


2 Answers

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

like image 197
Alex Reynolds Avatar answered Apr 16 '26 14:04

Alex Reynolds


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.

like image 30
Ben Williams Avatar answered Apr 16 '26 14:04

Ben Williams