Custom UI in notifications

In order to add custom UI to our notifications, we need to add an extension. Let's get started by doing the following:

  1. In the Navigator panel, select the Project navigator and, then, your project.
  2. At the bottom of the Targets area, click on the + button.
  3. Select Notification Content Extension under Application Extension and, then, click on Next:
    Custom UI in notifications
  4. In the options screen that appears, set Product Name to LetsEatContentExtension and click on Finish:
    Custom UI in notifications
  5. Next, select Activate in the screen that appears:
  6. This activation will allow us to build ...

Get iOS 10 Programming for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.