Reachability Guide for iOS Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of Reachability Guide for iOS without wasting too much if your time.

The question is published on by Tutorial Guruji team.

Has anyone found a halfway decent guide to implementing Reachability on iOS?


I have implemented Reachability like this. Download and add Reachability.h and .m to your project. Add the SystemConfiguration framework to your project. #import “Reachability.h” where you want to use it. Use this code.

-(BOOL)reachable {
    Reachability *r = [Reachability reachabilityWithHostName:@""];
    NetworkStatus internetStatus = [r currentReachabilityStatus];
    if(internetStatus == NotReachable) {
        return NO;
    return YES;

When you want to check for reachability…

if ([self reachable]) {
else {
    NSLog(@"Not Reachable");

Here is the example project that I made.

We are here to answer your question about Reachability Guide for iOS - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji