iOS 10 gave us UserNotifications.framework, the new API for local/remote notifications.
It offers viewing media attachments or responding to messages right from the notification.
Notification content consists of: title, subtitle, body and attachment.
Attachment can contain images/gifs/videos up t...