From the course: iOS and watchOS App Development: Notifications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Remove all notifications

Remove all notifications

From the course: iOS and watchOS App Development: Notifications

Start my 1-month free trial

Remove all notifications

- [Instructor] As we try new concepts in this course, notifications in our app can get a bit messy. This may also be true for your user, in some circumstances, who could get confused by old notifications. One way to deal with this mess is to reset the simulator. Which was great for permissions, but when working with notifications or for clearing things for a user, it's not the greatest solution. I'll add a way to remove all pending notifications. So if I have any repeating ones, I can remove everything without resetting my phone every time. Before I do, I'm going to remove the repeating notification so the repeating is not annoyingly long for a video. Switch back to the original trigger, in Make Pizza. So, I'm going to go back over here to the view controller, Make Pizza, I'm going to un-comment this and comment this. Which makes life a lot easier. Then hit back over to manage notification view controller and find the remove all notifications IB Action, which should be right above…

Contents