iOS 4 & iOS 5 tutorial: UIAlertView with link to WIFI or Settings app using Reachability and XCode 4.2

You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “iOS 4 & iOS 5 tutorial: UIAlertView with link to WIFI or Settings app using Reachability and XCode 4.2”.


16 Responses to “iOS 4 & iOS 5 tutorial: UIAlertView with link to WIFI or Settings app using Reachability and XCode 4.2”

  • avatar Maarten Wolzak Says:

    Hi Paul,

    Great tutorial. Thanks for mentioning us!

  • avatar Paul Peelen Says:

    Your welcome!
    Great services deserve great acknowledgment!

  • avatar phil mahoney Says:

    Nice implementation, is there any way to make this Asynchronous, so that if the connection drops the alert will pop up?

  • avatar Paul Peelen Says:

    I think there is, however I have not yet done that. Have a look on whether it is possible using the Reachability class.

  • avatar Patrick Aguillon Says:

    Nice article !

    Anyway, I think you cannot open settings from your application on iOS4. Can you ? I tried to open url on iPad1 4.2 and it failed. Maybe you should add a short note about that ;)

    Works fine on iOS5 :)

  • avatar Paul Peelen Says:

    Could be, I haven’t tested in on iOS4. Thanks!

  • avatar Jm Says:

    I’m currently developing a simple app when users click on “Update Database”, it will check if the user is connected to their VPN. If not, it will redirect users to the settings page and ask them to connect to VPN first.

    Any ideas how? Please help.

  • avatar badre Says:

    awesome. easy easy… more of you!

  • avatar Paul Peelen Says:

    Sorry… not at the top of my head. Check what the Reachability class can do for you, it might support it.

  • avatar Iosvn Says:

    that’s really helpful but i can’t access page 2…
    please share it for me! thanks you

  • avatar abdul nasir b.a Says:

    thanks for giving light in my brain, i really enjoyed this tutorial… thanks a lot…

  • avatar abdul nasir b.a Says:

    but…… while come to the coding am struggling. everything is fine but it’s not going to setting page. i test this in iPhone 4s (iOS 5.1) but it’s not working. NSURL *url = [NSURL URLWithString:@"prefs:root=General&path=Network"];
    [[UIApplication sharedApplication] openURL:url]; this is the code i written in didDismissWithButtonIndex

  • avatar Paul Peelen Says:

    I’ll have a look. Most likely some WP problem

  • avatar jue_jiang Says:

    So after going to the wifi setting view, how to go back to the former view, as I do not find any back button on the wifi setting view.

  • avatar Robert Says:

    Also having problems to make it work in iOS 5.1

  • avatar JaySea Says:

    no more available in iOS5.1
    because of Apple disabled it…

Leave a Reply