You can simply place a notification in your class like this:
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reachabilityChanged:) name:kReachabilityChangedNotification object:nil];
And then, you can use thiis method to observe when the network connection gets back i.e the connection state changes:
- (void) reachabilityChanged:(NSNotification *)note
{
Reachability* currentReach = [note object];
NSParameterAssert([currentReach isKindOfClass:[Reachability class]]);
if (internetStatus != NotReachable)
{
// handle UI as per your requirement
}
}