I wanted to check is device connoted to internet, and to check for my webpage.
So I found this answer: How to check for an active Internet connection on iOS or OSX?
In it code example was:
internetReachableFoo = [Reachability reachabilityWithHostname:@"www.google.com"];
So I puted:
internetReachableFoo = [Reachability reachabilityWithHostname:@"www.weborcode.com/apps/gdjesumojepare/"];
What was not working, it would say that there is no internet connection, even when I was on internet.
So by some miracle I manage to understand that it is only working with domain name weborcode.com or www.weborcode.com.
But not with the the full path of the resource.
Is there any war to make it work with the full path of the resource ?