跳转到当前应用的设置
//前往设置中心
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
[[UIApplication sharedApplication]openURL:url];
}
//前往设置中心
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
if ([[UIApplication sharedApplication] canOpenURL:url]) {
[[UIApplication sharedApplication]openURL:url];
}
本文标题:iOS拓展-APP设置中心
本文链接:https://www.haomeiwen.com/subject/vlcwjttx.html
网友评论