I'm trying to implement the last part in the notification image in apple notifications integration here
This is the C Code in the documentation:
- // Modify the notification content here...
- self.bestAttemptContent.title = [NSString stringWithFormat:@"%@ [modified]", self.bestAttemptContent.title];
- self.contentHandler(self.bestAttemptContent);
+ [[FIRMessaging extensionHelper] populateNotificationContent:self.bestAttemptContent withContentHandler:contentHandler];
I want to convert it to swift code so i can use it in my Project ImageNotification.swift