From the course: iOS and watchOS App Development: Notifications

Unlock the full course today

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

Add a service extension

Add a service extension

From the course: iOS and watchOS App Development: Notifications

Start my 1-month free trial

Add a service extension

- [Instructor] Your first step for using the service extension is to add the service extension to your project. In Excut, you're going to go to File, New, Target. Select Ios and you'll find in the list, the two extensions, the content extension we'll talk about in a little bit, and the notification service extension. Select it and click next. It's going to ask you for a product name. I usually name this by suffixing service extension to my app name. Since we have Huli Pizza notification here, I'm going to call it huli pizza notification service extension. My team will be the same, organization name, organization identifier, all that will be the same. We'll keep it in the same project and we're going to imbed it in the Huli Pizza notification application. So go ahead and hit finish. They'll ask you to activate and I'm going to go ahead and activate here. And once it's finished processing, you'll see we have a new service extension right here with two files. One is the notification…

Contents