New in Notifications

Filip Radelic:

When you see a WWDC session titled Introduction to Notifications, you might think it’s silly that after 7 years of using notifications, developers need an introduction to them. However, iOS 10 actually brings us a complete overhaul of notifications APIs and convergence of push and local notifications. They are now just called User Notifications, represented by UNNotification instances and they look and work the same no matter where they come from. All the related functionality has moved from UIKit into UserNotifications framework that also packs a ton of new functionality and is available in iOS, watchOS and tvOS.

Key highlights include the ability for apps to push updates to existing notifications, ensuring that things like sports scores and weather alerts are current. The level of interactivity now offered to notifications is also a huge improvement.

Unfortunately, these enhancements haven’t made their way into MacOS.