As of iOS 10, UILocalNotification is deprecated. Scheduling and handling local notifications is now the responsibility of the User Notifications framework, a brand new framework that is much more capable than the UILocalNotification class.
In the previous tutorial, you learned how to schedule local notifications using the User Notifications framework. As I mentioned, the UILocalNotification class is deprecated as of iOS 10 and scheduling local notifications is a bit different if you use the User Notifications framework. And this also applies to notification actions. The result, however, is a transparent, flexible API that I am sure you are going to appreciate.