let url = URL(string: "App-Prefs::Settings")//系统设置
// let url = URL(string: UIApplication.openSettingsURLString)//应用设置
if UIApplication.shared.canOpenURL(url!){
UIApplication.shared.open(url!, options: [:], completionHandler: nil)
}
let url = URL(string: "App-Prefs::Settings")//系统设置
// let url = URL(string: UIApplication.openSettingsURLString)//应用设置
if UIApplication.shared.canOpenURL(url!){
UIApplication.shared.open(url!, options: [:], completionHandler: nil)
}