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
From the course: iOS and watchOS App Development: Notifications
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Get interactive with notifications1m 39s
-
(Locked)
Configure notification categories3m 47s
-
(Locked)
Add categories to notifications2m 19s
-
(Locked)
Add actions to categories4m 37s
-
(Locked)
Respond to action requests4m 13s
-
Code the action response2m 32s
-
(Locked)
Code the next action response4m 17s
-
(Locked)
Test actions1m 47s
-
(Locked)
Text response actions2m 50s
-
(Locked)
Text response requests4m 13s
-
(Locked)
-
-
-
-
-
-
-