- (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]; }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.