O'Reilly logo

Learn iOS 11 Programming with Swift 4 - Second Edition by Craig Clayton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom UI in notifications 

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 the + button.
  3. Select Notification Content Extension under Application Extension and, then, click Next:
  1. In the options screen that appears, set Product Name to LetsEatContentExtension and click Finish:
  1. Next, select Activate on the screen that appears:

This activation allows us to build ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required