Upgrade to Pro — share decks privately, control downloads, hide ads and more …

即時通知を導入する際に考えるべきこと

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
aoi
September 12, 2022

 即時通知を導入する際に考えるべきこと

aoi

September 12, 2022

Transcript

50 slides
  1. ଈ࣌௨஌ͷ࣮૷ʢϩʔΧϧʣ import UserNotifications let content = UNMutableNotificationContent() content.title = "Reminder"

    content.body = "Take medicine." content.interruptionLevel = .timeSensitive let trigger = UNCalendarNotificationTrigger( dateMatching: date, repeats: false ) let request = UNNotificationRequest( identifier: identifier, content: content, trigger: trigger )
  2. ଈ࣌௨஌ͷ࣮૷ʢϦϞʔτʣ { "aps" : { "alert" : { "title" :

    "Reminder", "body" : "Take medicine." }, "interruption-level" : "time-sensitive" } }

More Decks by aoi

Other Decks in Technology