Would the following be considered as private API use? After googling I have found many conflicting reports.

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

Also does anyone have a list of valid urls within the settings application? For example:

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

will open the notifications page of the settings application.

有帮助吗?

解决方案

I have found the answer to my own question.

It is supported in iOS5. URL Schemes can be found here: http://maniacdev.com/2011/11/tutorial-using-url-schemes-to-open-the-settings-app-to-a-specific-page-in-ios-5/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top