programmatically READ iPhone settings
I want to programmatically READ iPhone settings such as...
- Enable 3G - YES/NO
- Vibrate - ON/OFF
- Message Alert - 开发者_开发问答ON/OFF
- etc.
Can anyone provide a solution?
I'm fairly certain you cannot: see Opening the Settings app from another app
You cannot. Because apple is not providing the API to access the iPhone settings app. But you can keep a bundle setting in your app so that user can change the settings of your app from iphone settings. If you are interested in this feature you can refer Apple doc.
精彩评论