标签:red har highlight url ring 打开 available ios pen
if #available(iOS 8.0, *){
if let url = URL(string: UIApplication.openSettingsURLString),
UIApplication.shared.canOpenURL(url){
print("可以打开设置")
UIApplication.shared.openURL(url)
}else{
print("不可以打开设置")
}
}
标签:red har highlight url ring 打开 available ios pen
原文地址:https://www.cnblogs.com/qingzZ/p/9803023.html