Notification Handling on WatchKit
summary
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
chapters (19)
- 0:00Intro
- 0:42Why Notifications
- 4:04Configuring Notifications
- 8:40Categories
- 11:24Dynamic Notification
- 12:51Common Case
- 18:44Remove Delivered Notifications
- 19:12Interface Controller
- 21:15App State
- 23:12Clean State
- 24:30Demo App
- 26:30Static Structure
- 30:05Attachments
- 30:25Images
- 31:16Notifications
- 31:46App Store
- 32:52Action Identifier
- 34:04Send Notification
- 34:23Sample Code
related talks
52mDeveloping Killer Apple Watch Applications
48mBuilding a Meaningful Apple Watch Experience
37mDon't forget about the wrist
28mCustomizing Your Notifications for iOS 12
23mCustomizing Your Notifications for iOS 12
32mNotify Me, Notify You. Aha!
15mCreating Rich Custom UI Notifications
07mCarlos Paelinck - SeattleJS Conference 2017
