Access iOS settings from code

Possible Duplicates:
Programatically access iPhone System Setting
How do I access the iPhone's settings from my code?
How to access iPhone general accessibility settings with OS 4.0
How to access iPhone's general accessibility settings
iPhone Settings
Access iphone setting preference

Is there a way to, from my code query the iOS settings app for a certain setting? For example I want to know if “Multitasking Gestures” is turned on or not? Or even be able to change the settings?(From my research it seems like I definitely cant do this)

  • Ask for Permission for Local Notifications in iOS 8, but still have the App Support iOS 7
  • Crash/SIGABRT when I try to present a UIPopoverController
  • Is there a way to programatically restore my iphone to factory settings?
  • iOS Provisioning Portal gives error when I try to add a profile
  • Failing to open active session after updating Facebook SDK to 3.5
  • Best practice? - Array/Dictionary as a Core Data Entity Attribute
  • Solutions Collect From Internet About “Access iOS settings from code”

    No. In general, you can read your own app’s preferences (whether they’re set via the Settings app or by your app) using NSUserDefaults. You cannot, however, read the preferences for other applications, including system settings. There may be cases where you can figure out what the setting must be by using API specific to that setting, but in such cases you still shouldn’t assume that you know what selection the user has made in the Settings app.