Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find if 3G is enabled in iphone settings

Tags:

xcode

ios

iphone

is it possible to find whether 3G or Edge is enabled in the phone setting through applications?

like image 223
Divyesh Avatar asked Jun 02 '11 10:06

Divyesh


1 Answers

Its not possible to read the private Settings data (since apps generally can't access data that is not thier own), so I don't think this is possible. However, you can use the [Reachability] (http://developer.apple.com/library/ios/#samplecode/Reachability/Introduction/Intro.html) code from Apple. Also, you can try going through NSUserDefaults.

like image 65
Moshe Avatar answered Oct 06 '22 16:10

Moshe