I want to be able to check for internet connectivity when my View loads. To predetermine the contents of my view.
I have the following viewDidLoad method:
I think you can use the Apple provided Reachability class. There is a method: - (NetworkStatus)currentReachabilityStatus;
As it returns NetworkStatus. You can use this value directly or inside your function reachabilityStatus != NotReachable
reachabilityStatus != NotReachable