0

i want to add the component of selecting wifi network like in app store application . have you any idea how to integrate it? enter image description here private methods are welcome!

Mejdi Lassidi
  • 999
  • 10
  • 22

1 Answers1

0

You can't directly control the popup - it's a system function. However, if you set "Application uses Wi-Fi" to YES in your app's .plist, it will pop up when the user is not connected to the internet.

wquist
  • 2,569
  • 1
  • 15
  • 14
  • still a thing : that once the popup is shown , it does not appear another time (and this for other apps like app store). there is a solution to enforce the call? – Mejdi Lassidi Jun 18 '12 at 15:48
  • if user turns the phone off the popup reappears when he launchs the app after turning the phone on – Mejdi Lassidi Jun 18 '12 at 15:49
  • Unfortunately, I don't think Apple provides a way to do this. Like you said, this feature is absent from even Apple's own apps. I suppose if WiFi is needed, you can show a custom alert that says something like "Please connect to the internet", and the user should know to go to preferences and select a network. – wquist Jun 18 '12 at 17:13
  • yes, just a word: the pop up reappears when you lock your device. – Mejdi Lassidi Jun 19 '12 at 07:03