Slide 14
Slide 14 text
6TFS/PUJpDBUJPOΛ
λοϓͨ࣌͠ͷڍಈͷ࣮
@available(iOS 10.0, *)
func userNotificationCenter(_ center: UNUserNotificationCenter,
didReceive response: UNNotificationResponse,
withCompletionHandler completionHandler: @escaping () -> Void) {
// ௨Λλοϓͨ࣌͠ͷॲཧΛॻ͘
// ...
// end
completionHandler()
}
˞ΞϓϦ͕'PSFHSPVOEͷ࣌ʹ6TFS/PUJpDBUJPOΛड͚औͬͨ࣌ͷ࣮ͪ͜Β
func userNotificationCenter(UNUserNotificationCenter, willPresent: UNNotification, withCompletionHandler: (UNNotificationPresentationOptions) -> Void)
UNUserNotificationCenterDelegate