-1

How to Check in the app constantly of the signals of wifi connection.In case of less signals has to send notification to server.

  • won't wifi auto swap to radio if no signal? – Mitch Wheat Feb 20 '13 at 06:19
  • I have to send notification to server in case of less internet connection – user1316176 Feb 20 '13 at 06:22
  • when connection start getting less .at that point has to send it – user1316176 Feb 20 '13 at 06:24
  • but what if it gets less, and then gets more, and then gets less, .... – Mitch Wheat Feb 20 '13 at 06:25
  • The moment it gets less i have to send the notification – user1316176 Feb 20 '13 at 06:27
  • http://stackoverflow.com/questions/12054818/ios-wifi-scan-signal-strength and http://stackoverflow.com/questions/14532651/how-to-detect-network-signal-strenghth-in-ios-reachability?lq=1 can help you. – DD_ Feb 20 '13 at 06:28
  • Here you go.... http://stackoverflow.com/questions/1083701/how-to-check-for-an-active-internet-connection-on-iphone-sdk – Mohammad Feb 20 '13 at 07:01
  • these posts are all of the checking of wifi connections.. i have to check its signals and on less signals has to send notification to server – user1316176 Feb 20 '13 at 07:16
  • You can't check the strength of the WiFi connection using public APIs unless you are transmitting something and counting the bytes. It is also impractical to notify the server given the strength fluctuations. This is just not a good idea. – Jano Feb 20 '13 at 10:01
  • ok jano .but i need to that as it is a client requirement.is there any way to do it using public api – user1316176 Feb 20 '13 at 10:05

1 Answers1

0

To get the status of network you should refer at Apple's sample code Reachability

http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html

I think you'll find all you need.

jackdev23
  • 116
  • 4