~/talk

Notification Handling on WatchKit

Talkat 360iDev 2017 · 2017-08-13..08-16· [ios]
links:none on file
slides:none on file

Shows how the UserNotifications framework must be wired for WatchKit not UIKit, with concrete code for registering categories/actions, handling foreground actions and text input responses, and the three watch display modes: generic, static, dynamic. Demonstrates a dual‑mode demo app, attachment fetching on-watch, and pitfalls: dynamic interfaces have a short time budget, background actions run on the receiving device, system URL opens can hang, and a watchOS 3.1 bug causes duplicate callbacks. Sample code and failures are shown.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Why Notifications
  3. 4:04Configuring Notifications
  4. 8:40Categories
  5. 11:24Dynamic Notification
  6. 12:51Common Case
  7. 18:44Remove Delivered Notifications
  8. 19:12Interface Controller
  9. 21:15App State
  10. 23:12Clean State
  11. 24:30Demo App
  12. 26:30Static Structure
  13. 30:05Attachments
  14. 30:25Images
  15. 31:16Notifications
  16. 31:46App Store
  17. 32:52Action Identifier
  18. 34:04Send Notification
  19. 34:23Sample Code
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.