coder1010
coder1010

Reputation: 412

access ios device settings

Is it possible to change the device settings like wifi, personal hotspot, torch, personal hotspot, turn location services. I want to turn them to on/off from the application only without moving to settings screen. Is this posssible. OR any good tutorial for this?

Upvotes: 2

Views: 1296

Answers (2)

msk
msk

Reputation: 8905

See this question it is using private API to toggle bluetooth setting. So there is no way to change settings from within app using public SDK. You even cannot open "settings" app programmatically now in ios 5.0.1 and later. My app was using below statement to open settings app but it stopped working when we moved to latest iOS SDK.

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs://"]];

Upvotes: 1

rckoenes
rckoenes

Reputation: 69449

No it is not, you are not able to changes these settings.

Upvotes: 2

Related Questions