以下会被视为私有API使用吗?在谷歌上搜索后,我发现了许多相互矛盾的报道。
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs://"]];
还有谁在设置应用程序中有一个有效的url列表?例如:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs://notifications"]];
将打开设置应用程序的通知页面。
我已经找到了我自己问题的答案。
在iOS5中支持。URL方案可以在这里找到:http://maniacdev.com/2011/11/tutorial-using-url-schemes-to-open-the-settings-app-to-a-specific-page-in-ios-5/