iOS Guide 5. Notification Service Extension

5-7. 초기화
생성된 Notification Service Extension 프로젝트 -> NotificationService.m 소스에 아래 소스를 적용 해주시면 됩니다.

    - (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
        self.contentHandler = contentHandler;
        self.bestAttemptContent = [request.content mutableCopy];
    
        [[BZPush extensionService] extensionNotiTask:self.bestAttemptContent contentHandler:contentHandler];
    }