To add custom UI to our notifications, we need to add an extension. Let's get started by doing the following:
- In the Navigator panel, select the Project navigator and then your project.
- At the bottom of the TARGETS area, click the + button.
- Select Notification Content Extension under Application Extension and then click Next:
- In the options screen that appears, set Product Name to LetsEatNotificationExtension and click Finish.
Now that our extension has been created, we need to be able to use it:
- Open the info.plist file in the LetsEatNotificationExtension folder.
- Tap the NSExtension disclosure arrow to open ...