Which of the following is the best practice to find active internet connection?
Correct Answer: - (BOOL) connectedToInternet { Reachability *reachability = [Reachability reachabilityForInternetConnection]; NetworkStatus networkStatus = [reachability currentReachabilityStatus]; return !(networkStatus == NotReachable); }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More IOS Technical Test MCQ Questions