 import UIKit
 import UserNotifications
 
-class StoreViewController: UIViewController {
+class StoreViewController: UIViewController, UNUserNotificationCenterDelegate {
     var timer: Timer!
     var request: UNNotificationRequest!
 

        content.sound = UNNotificationSound.default()

        request = UNNotificationRequest(identifier: "normal", content: content, trigger: trigger)
    }

    override func didReceiveMemoryWarning() {

    }

    func createNotification() {
        let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 5, repeats: false)

        let content = UNMutableNotificationContent()
        content.title = "セール実施中！"
