摘要:
1.跳转到设置界面实现方法 1 let url = URL(string: UIApplicationOpenSettingsURLString) 2 3 if UIApplication.shared.canOpenURL(url!){ 4 5 UIApplication.shared.openU 阅读全文
摘要:
一。 iOS 8以上 import NotificationCenter //注册通知 if #available(iOS 8.0, *) { //通知类型 let uns = UIUserNotificationSettings(types: [.alert,.badge,.sound], cat 阅读全文