How to check is GPRS is available
Is there any way to check whether GPRS is available on the iPhone? I've written code that checks wheth开发者_StackOverflow中文版er WiFi is available, but I don't know how to do this for GPRS.
I think you are getting confused with whether wifi is available or not
and GPRS is available or not
.
Wifi is avilable or not could mean that the code might check whether any wifi hot spots are available. but in the case of gprs it is different.
What you can do a send a request to a site and see if you get the response. If you get then they are connected to the internet (GPRS/3G or whatever)
BTW consider accepting few answers you have 17 questions and 0 acceptance rate.
精彩评论