Sha256: 19246fad41a30ae6c7fe7ddba583067cfd1a2bb92ea0f003e5d8d7cffe36bbc4
Contents?: true
Size: 572 Bytes
Versions: 17
Compression:
Stored size: 572 Bytes
Contents
// // NotificationViewController.swift // NotificationContent // // Created by YKRPC_AUTHOR_NAME on YKRPC_CREATE_DATE. // 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) { self.label?.text = notification.request.content.body } }
Version data entries
17 entries across 17 versions & 1 rubygems