Sync local notifications with CloudKit?

Hello

Is there a way to sync notifications that are created locally, on CloudKit, I am using this function to create notifications and I am saving everything in an array

func scheduleNotifications(date: Date, identfier: String) {
    UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { success, error in
        
        if success {
            print("Success")
        } else if let error = error {
            print(error.localizedDescription)
        }
    }
    
    let content = UNMutableNotificationContent()
    content.title = "Notification"
    content.body = "Notification."
    content.sound = UNNotificationSound.default

    var dateComponents = DateComponents()
    dateComponents.hour = Int(hourFormatter.string(from: date)) ?? 0
    print(hourFormatter.string(from: date))
    dateComponents.minute = Int(minuteFormatter.string(from: date)) ?? 0
    print(minuteFormatter.string(from: date))
    
    let trigger = UNCalendarNotificationTrigger(dateMatching: dateComponents, repeats: true)
    let request = UNNotificationRequest(identifier: identfier, content: content, trigger: trigger)
    
    UNUserNotificationCenter.current().add(request)

   
}

Thank you

Sync local notifications with CloudKit?
 
 
Q