Learn Swift and iOS Development
Master iOS development through in-depth tutorials and comprehensive courses on Swift, SwiftUI, UIKit, Core Data, and more.
Master iOS development through in-depth tutorials and comprehensive courses on Swift, SwiftUI, UIKit, Core Data, and more.
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 iOS
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.
in iOS