Notification Extension
Xcode => File => New => Target
iOS => Notification Service Extension => Next
Product Name : Dzo_Notification_Ext
Add Target for Extension:
Frameworks => DzoSDK_Kit => Dzo_Notification_Ext => Target Membership => check "Dzo_Notification_Ext" required
Edit NotificationService.m
#import <DzoSDK_Kit/DZOSDK_Extension.h>
- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
[[DZOSDK_Extension extensionHelper]
populateNotificationContent:self.bestAttemptContent withContentHandler:contentHandler];
}
Everytime Import Framework need to tick target "Dzo_Notification_Ext"