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.

Test actions

Test actions

From the course: iOS and watchOS App Development: Notifications

Start my 1-month free trial

Test actions

- [Instructor] We are ready to test the actions, so let's go ahead and Build and Run. Once the simulator loads, you'll see the app as before, tap Schedule a Pizza, and wait, and eventually we'll get a notification. Drag down on the notification, and you'll see we get a Snooze button. Click the Snooze button, wait a bit longer, and you get a Snooze button. Click the Snooze button, wait a bit longer, and you get another one. Hit Command + L to lock your phone, and you'll get it here too. This time swipe towards the left and you'll see a button that says View, and that gets you your Snooze button. You can click it again. You click it one more time, you can go back to Open, and you can open the app with it. Now, let's go try it with the pizza button and see if that one's working. So, we'll hit make a pizza. I'm just going to do a Command + L here and lock the phone, and there it is. Swipe to the left, hit View, and we can do a Snooze, or a Next, or a Cancel here. I'm going to start with…

Contents