unnotificationserviceextension
how to display image in ios push notification?
If you want to customize the appearance of local and remote notifications, perform the following steps: Create a UNNotificationCategory and add to the UNUserNotificationCenter category: let newCategory = UNNotificationCategory(identifier: “newCategory”, actions: [ action ], minimalActions: [ action ], intentIdentifiers: [], options: []) let center = UNUserNotificationCenter.current() center.setNotificationCategories([newCategory]) Create a UNNotificationContentExtension: then use code or storyboard … Read more