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.

Add the content extension

Add the content extension

From the course: iOS and watchOS App Development: Notifications

Start my 1-month free trial

Add the content extension

- [Instructor] You've loaded content to the service extension. There's another extension that gives you a storyboard to format your output and add other types of objects. The content extension gives you a view controller and storyboard to create your own notifications. To add a content extension, you're going to go to File, New, and Target. Under iOS, you'll find the Notification Content Extension. Select it and hit Next. You'll save it as a name. And, again, I'm going to include ContentExtension on the end of my app name. Click Finish and Activate. You'll find a new target on the navigator. Open it up and it has three files, a ViewController, a storyboard, and an info.plist. Open up the storyboard, give yourself some space, and you'll find a very short looking scene. It's here you will design your notification.

Contents