iOS Guide 6. Notification Content Extension

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

    #import "NotificationViewController.h"
    #import <UserNotifications/UserNotifications.h>
    #import <UserNotificationsUI/UserNotificationsUI.h>
    #import <BZFramework/BZFramework.h>
    @interface NotificationViewController () <UNNotificationContentExtension>
    @property IBOutlet UILabel *label;
    @end
    @implementation NotificationViewController
    
    - (void)viewDidLoad {
        [super viewDidLoad];
        // Do any required interface initialization here.
        [BZPush extensionNotiContent].viewcontroller = self;
    }
    
    - (void)didReceiveNotification:(UNNotification *)notification {   
    }
    
    @end