         application.registerForRemoteNotifications()     }         // iOS 0 support     else if #available(iOS 0, *) {         UIApplication.shared.registerUserNotificationSettings(UIUserNotificationSettings(types: [.sound, .alert], categories: nil))         UIApplication.shared.registerForRemoteNotifications()     }         // iOS 0 support     else if #available(iOS 0, *) {         UIApplication.shared.registerUserNotificationSettings(UIUserNotificationSettings(types: [.sound, .alert], categories: nil))         UIApplication.shared.registerForRemoteNotifications()     }         // iOS 0 support     else 