The method returns true if there is internet connection. Returns false if there is no internet connection.
-(void)checkInternet { if([ueConnection isConnected]) { NSLog(@"There is internet"); } else { NSLog(@"There is no internet"); } }