Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 792
snail Avatar asked Nov 26 '22 17:11

snail


1 Answers

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

like image 125
Joshua Nozzi Avatar answered Dec 15 '22 13:12

Joshua Nozzi