- (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]; }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.