0

Im having a problem opening the settings preferences in my IOS iphone app. At the moment im just using a simple button to test and it doesn't seem to be working correctly.

Basically when I click the button I want a specific settings preference page to open. This is what Im currently using within my buttons IBACTION:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General"]];

Hope you guys can help me out with a solution for this, thanks in advance.

Doop
  • 3
  • 1
  • 2

1 Answers1

4

try this:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs://"]];

should work in iOS 5

... update:

opening with the prefs url was disabled in iOS 5.1

sebastian

Sebastian Flückiger
  • 5,525
  • 8
  • 33
  • 69