0

In my iOS application, I'd like to make a method that opens/launches the Settings Application, >> particularly the WIFI page, where you pick a wifi SSID <<.

I know it is possible to open Settings App. cf How to open Settings programmatically like in Facebook app?

Is it possible to land on the Wifi page of it? If yes, how?

Cœur
  • 37,241
  • 25
  • 195
  • 267
3pic
  • 1,188
  • 8
  • 26
  • This question does not show any research effort – ryancrunchi Jul 21 '15 at 11:47
  • It is not possible to do that. You can find more information here: http://stackoverflow.com/questions/23824054/how-to-open-settings-programmatically-like-in-facebook-app – Oluderi Jul 21 '15 at 11:47
  • @ryancrunchi Sorry, I ve forgotten a detail, which I have not found anything very informative . I aim to open the **wifi page** of settings app... and get back to the app at any moment. – 3pic Jul 21 '15 at 12:45
  • Ok, then it should be even more impossible than showing settings home page :) – ryancrunchi Jul 21 '15 at 12:48
  • @ryancrunchi since iOS8 you can open settings home page. Should or not, probability ? I'm hoping binary sure answer... it is or not. It should... ahah ;) well, Im digging it, I come back soon with a formal YES or NO. Cheers – 3pic Jul 21 '15 at 12:51

1 Answers1

2

Now, using the UIApplicationOpenSettingsURLString you can get the URL used to open the Settings app.

Because this is iOS 8 only, on iOS 7 or earlier you will need to check this exists before using it (or your app will crash)

   if(&UIApplicationOpenSettingsURLString != nil)
  {
     [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
  }

Hope this helps you

soumya
  • 3,801
  • 9
  • 35
  • 69
  • 2
    Thank you. Actually I'm looking for landing on the Wifi page of Settings App. – 3pic Jul 21 '15 at 12:53
  • 3pic, did you ever find that specific answer? – Sean Sep 25 '15 at 19:27
  • As of iOS 8 you can only launch your app's own settings page. (But can't access in specific like wifi page in setting) as per apple API – soumya Sep 28 '15 at 06:27