Search code examples
ipadnetwork-programmingwifi3g

Is there any API that i can distinguish between 3G Network and Wifi?


I am working with my ipad app. With my iPad 3G,it's a trouble that i can't solve. I want to distinguish between 3G network and wifi in my app. Anyone had encountered the same problem before? any advice welcomed! Thanks!


Solution

  • You want the "reachability" API that is discussed here.