developer:ios-checkconnection

This is an old revision of the document!


isConnected : Check for internet connectivity

Description

The method returns true if there is internet connection. Returns false if there is no internet connection.

Code Snippet

   if([ueConnection isConnected])
    {
       NSLog(@"There is internet");
    }
 
    else
    {
       NSLog(@"There is no internet");
 
    }
developer/ios-checkconnection.1398876693.txt.gz · Last modified: 2014/04/30 09:51 by jlei

Page Tools