-1

I want to know how to Open Settings, WiFi or Bluetooth page programmatically in iOS 6.0.

I know there is a way to open setting page via custom URL but it is deprecated above iOS 5.1.

If there is any way to open the page directly,please let me know, Or provide some example code.

Any Help will be appreciated...

Elist
  • 5,313
  • 3
  • 35
  • 73
Madhuri Verma
  • 21
  • 1
  • 1

1 Answers1

6

At previous we are opening Setting Page from app Using Bellow line of Code:-

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

But now up to ios 5.1 it was working after that this one depreciated. and Till now Apple not providing the URL Schema for achieving this one in newer versions.

So now it is not possible to open default setting page in ios 6.

It is possible incase if the device is Jail Broken.

Nishant Tyagi
  • 9,893
  • 3
  • 40
  • 61
Brijesh Singh
  • 739
  • 1
  • 6
  • 23