标签:ios uiapplicationopenset openurlurl
5.1之后的跳转设置都变了,最新的有效方法
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
//如果点击打开的话,需要记录当前的状态,从设置回到应用的时候会用到
[[UIApplication sharedApplication] openURL:url];
}
标签:ios uiapplicationopenset openurlurl
原文地址:http://blog.csdn.net/sqc3375177/article/details/45842455