I would like to check why there is no internet connection available:
1) Is it because the user has disable cellular data and/or Wi-Fi in settings
or
2) Is it because there is no cellphone coverage in the region
How to do it?
I would like to check why there is no internet connection available:
1) Is it because the user has disable cellular data and/or Wi-Fi in settings
or
2) Is it because there is no cellphone coverage in the region
How to do it?
I think you should go with some preliminary searching before posting the question. For checking wether you've internet connectivity or not, you can go with multiple libraries/wrappers available. AFNetworking
, Reachibility
etc are there. From these wrappers you can get to know whether you have internet connectivity or not.
Now if you don't have internet access then you'll have to find out the reason right?
To check for the actual reason please look at this link.