How to delete a local notification in iPhone

后端 未结 4 1727
一向
一向 2020-12-08 11:07

I am making an application that sets a local notification.

Thankfully I was able to set the local notification but I don\'t know how to delete the notification which

4条回答
  •  被撕碎了的回忆
    2020-12-08 11:40

    You can cancel notification by following function:[[UIApplication sharedApplication]cancelNotification:object Of your UILocalNotification]

提交回复
热议问题