一网通办ios
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

delegate.swift 756 B

2 vuotta sitten
12345678910111213141516171819202122
  1. //
  2. // delegate.swift
  3. // im-client-ios
  4. //
  5. // Created by 北京居家科技有限公司 on 2022/2/24.
  6. //
  7. import UserNotifications
  8. extension AppDelegate:UNUserNotificationCenterDelegate{
  9. func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
  10. }
  11. func userNotificationCenter(_ center: UNUserNotificationCenter, openSettingsFor notification: UNNotification?) {
  12. }
  13. func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) {
  14. }
  15. }