0

I want to open Settings from my app's alertView button action with following URL Scheme.

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

It's working fine for iOS 5.0 but not for 5.1 and above.

Any alternate way to implement this?

ЯegDwight
  • 24,821
  • 10
  • 45
  • 52
NaXir
  • 2,373
  • 2
  • 24
  • 31
  • possible duplicate of [How to open preferences/settings with iOS 5.1?](http://stackoverflow.com/questions/9627451/how-to-open-preferences-settings-with-ios-5-1) – Black Frog Aug 31 '12 at 11:19

2 Answers2

6

Simply no. This URL scheme has been disabled by Apple in SDK 5.1. Its not possible without Jailbreak.

E. Lüders
  • 1,495
  • 1
  • 12
  • 27
0

This feature is no more supported in iOS 5.1 and above. No direct way to do this.

BornCoder
  • 1,046
  • 8
  • 10