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.
Change the UI
From the course: iOS and watchOS App Development: Notifications
Change the UI
- [Instructor] Once you add the content extension, you have a storyboard with a single scene linked to Notification View Controller. This storyboard starts with a single label, which I'm going to delete here and that way I have a nice clean slate to work on. When deleting objects, I usually go up here and do a Clean Build Folder, before I add any new ones. Now, you'll see this storyboard is a lot to small for stuff, meant to cover only a small notification on the single label. So, open up your attributes and go the Notification View Controller, and then go to Size, and you'll see the Simulated Size is 37 for height. I'm going to change that to 300, give me some space to work. Now zoom in a little bit, so you can be a little closer to what the action is here, and Option + Click on the Library button up here, and we'll get our objects, and I'm going to drag on three Labels, two on the bottom, one on the top, and we're going to use an ImageView in between them, like so. Select all of…
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)
Add the content extension1m 15s
-
(Locked)
Change the UI3m 53s
-
(Locked)
Code the view controller4m 9s
-
(Locked)
Change plist settings3m 6s
-
(Locked)
Customize actions3m 4s
-
(Locked)
Customize requests4m 15s
-
(Locked)
Add buttons2m 57s
-
(Locked)
Use buttons for actions3m 31s
-
(Locked)
Code the snooze button3m 57s
-
(Locked)
-
-
-