Madoc
Madoc

Reputation: 1625

Is it possible to get the information stored in "General->Network->cellular data network" programmatically

is it possible? I need it for an application that checks if this data is correct.

Upvotes: 1

Views: 240

Answers (2)

Moshe
Moshe

Reputation: 58087

You cannot check the stored system settings manually. However, you can use Apple's Reachability class and the UIMessageComposer class to check (ay least most of) what you need.

Upvotes: 2

Morten Fast
Morten Fast

Reputation: 6320

There is no public API for this.

The info is written in plists in the file system (take a look at SpyPhone if you want to know more: https://github.com/nst/spyphone/), but in my opinion that's the wrong way to go.

Upvotes: 1

Related Questions