- (int)checkForInternetConnection: (Reachability*) curReach { Reachability *reachability = [Reachability reachabilityForInternetConnection]; NetworkStatus internetStatus = [reachability currentReachabilityStatus]; NSLog(@Reachability changed: %u, internetStatus); UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@No Internet Connection! message:@This feature requires an Internet connection via WiFi or cellular network to work properly. delegate:nil cancelButtonTitle:@OK otherButtonTitles:nil]; [alertView show]; [alertView release]; }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.