APP跳转到设置界面
作者:
lltree | 来源:发表于
2017-11-08 17:15 被阅读22次//UIApplicationOpenSettingsURLString iOS 8以后支持
if ([[UIApplication sharedApplication] respondsToSelector:@selector(openURL:options:completionHandler:)]) {
//iOS 10以后支持
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString] options:@{} completionHandler:nil];
}else{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
}
本文标题:APP跳转到设置界面
本文链接:https://www.haomeiwen.com/subject/mryymxtx.html
网友评论