Link to home
Start Free TrialLog in
Avatar of Bakersville
BakersvilleFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How do i teel if someone has network coverage

Hi all

I have a UIWebView within my app i am writing and i was wondering if there was a way of writing in a bit of code that would tell me (So i can do something else), if there is no network coverage for the iphone.

I have search the web, but the only thing i found was

-(void)webView (UIWebView *)webView didFailLoadWithError:(NSError *)error
{
}

But it seems to not work.

Many thanks

Baker
ASKER CERTIFIED SOLUTION
Avatar of pgnatyuk
pgnatyuk
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bakersville

ASKER

Thank you for you help.

The zip files links don't work on
http://iphone.keyvisuals.com/code-snippets/how-to-detect-network-availability-in-apps/

But if you are sure that the top will work, i will just use that.  

Thank you again for you help.

Baker
Very much appreciated.