Learn how to use the iOS 12 and watchOS UserNotifications framework to develop local and remote notifications and create your own custom interfaces.
Overview
Syllabus
Introduction
- Add notifications to iOS apps
- What you should know
- Project and exercise files overview
- Setting up simulators
- Add the framework
- Ask user permission
- Check user permissions
- Test user permissions
- Use provisional permissions
- Steps for local notifications
- Static notification content
- Dynamic notification content
- Time interval triggers
- Calendar notification triggers
- Notification requests
- Notification testing
- In-app notification
- Pending notifications
- Unique identifiers
- Delivered notifications
- Update notification content
- Update pending notifications
- Remove notifications
- Repeating notifications
- Remove all notifications
- Custom group notifications
- Get interactive with notifications
- Configure notification categories
- Add categories to notifications
- Add actions to categories
- Respond to action requests
- Code the action response
- Code the next action response
- Test actions
- Text response actions
- Text response requests
- APNs and remote notifications
- Project settings for push notifications
- Register for notifications
- Get a certificate key
- Convert .p12 to .pem
- Get the token
- Test the notification
- JSON payloads
- Launch a JSON payload
- Alerts
- Actions
- Add user info in payload
- User info in app
- Grouped push notifications
- The notification extensions
- Add a service extension
- Code the notification extension
- Add the content extension
- Change the UI
- Code the view controller
- Change plist settings
- Customize actions
- Customize requests
- Add buttons
- Use buttons for actions
- Code the snooze button
- Types of media
- Image attachment
- Audio and video attachments
- Expired extensions
- Add an image in content extension
- Load an image from the web
- Test the image from the web
- Watch notifications
- Watch looks
- Default watch notifications
- Watch notification interfaces
- Watch push notifications
- Next steps
Taught by
Steven Lipton