Remove a particular notification from notification tray iOS swift

Solution:

Yes it's definitely possible.If you have an option to save the notification identifier in your database or coredata then it's easy.

You can find the notification from the scheduled notification of your app.


            UNUserNotificationCenter.current().removeDeliveredNotifications(withIdentifiers: [ids])

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift