Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

iphone - Open Settings Programmatically iOS 6

I am making an app in which I need to open settings of device programatically. Previously we can open it using following code

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

But I come to know its been deprecated from iOS 5.1. Please let me know if there is some other way to open it.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Apple does not provide a URL schema for achieving this.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...