摘要:
1.跳转到设置界面实现方法 1 let url = URL(string: UIApplicationOpenSettingsURLString) 2 3 if UIApplication.shared.canOpenURL(url!){ 4 5 UIApplication.shared.openU 阅读全文
posted @ 2017-11-09 20:04
小炮陈
阅读(3672)
评论(0)
推荐(0)
摘要:
一。 iOS 8以上 import NotificationCenter //注册通知 if #available(iOS 8.0, *) { //通知类型 let uns = UIUserNotificationSettings(types: [.alert,.badge,.sound], cat 阅读全文
posted @ 2017-11-09 02:54
小炮陈
阅读(1228)
评论(0)
推荐(0)

浙公网安备 33010602011771号