This is a two part tutorial all about Apple’s new User Notification framework, to show you how to use rich, interactive local notifications in iOS 10. In part one I show you how to: request authorisation from the user to send them notifications, create and schedule a local user notification, handle the display of that notification in-app, add actions to the notification using notification categories. and react to the action the user selected.
Part two deals with adding attachments, modifying pending and delivered notifications & implementing a notification content extension.
Project on github – https://github.com/kenechilearnscode/UserNotificationsTutorial (Part I)
https://github.com/kenechilearnscode/UserNotificationsTutorial/tree/Part-II (Part II)
Part 1:
Part 2:
UserNotifications Framework Reference (recommended read)
What do you think?