Muting an instance of a scheduled local notification


My app has a daily reminder notification, reminding the user to perform a particular task for the day, this local notification is sent at 9am to the user, the snippet of the code that schedules this is:


The notification is working, being sent at 9am, but I as wonderong if it is possible to “mute” the scheduled notification for the day, programmatically, if the user performs the task before 9am - so they don’t get notified to do something they have already done.

Is this at all possible? Thanks

1 Like