0

Possible Duplicate:
How to check for an active Internet Connection on iPhone SDK?

I have to find to which network the ipad is currently connected through the ipad application. is it possible through the reachability code?

Community
  • 1
  • 1
Tweety
  • 98
  • 1
  • 9

1 Answers1

0

Do you mean the SSID of the wifi network? That's not possible.

For checking internet/intranet connection, use the reachability, and specify your own server (on the intranet) or a public server (on the internet) to check if you can reach it.

Nick Bull
  • 4,276
  • 1
  • 18
  • 25
  • i need to know whether the ipad is connected to internet or intranet or some other network – Tweety Jun 27 '11 at 13:11
  • i have a wifi network that is authenticated. when the ipad is connected in that network i want my ipad app to bypass the login and use those credentials to login to my app. is that possible? – Tweety Jun 28 '11 at 06:08
  • You could check to see if a particular server on your wifi network is available and if so, you would know that you are connected to the wifi network. Then you could do you login code as appropriate. If you can't find the server, then display a different login screen. – Nick Bull Jun 28 '11 at 08:26
  • i can check whether wifi is connected to ipad. but whether it is connected through particular user login, is there a way to find out that? – Tweety Jun 28 '11 at 08:43
  • No, there's no way to do that through iOS. – Nick Bull Jun 28 '11 at 08:45