//
//  NotificationViewController.swift
//  WoWonderNotificationContentExtension
//
//  Created by iMac on 03/11/23.
//  Copyright © 2023 ScriptSun. All rights reserved.
//

import UIKit
import UserNotifications
import UserNotificationsUI

class NotificationViewController: UIViewController, UNNotificationContentExtension {

    @IBOutlet var label: UILabel?
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any required interface initialization here.
    }
    
    func didReceive(_ notification: UNNotification) {
        preferredContentSize.height = 400
        self.label?.text = "notification.request.content.body"
    }

}
