Custom Notification Settings (iOS 12)

The last thing I want to cover is Custom Notification Settings. This feature is really good if you have an app that has buttons to toggle different notification settings off and on. Apple now lets users go directly from the Settings app and launch their custom settings page.

Before we get into this, in the assets folder for this chapter, drag and drop the Settings folder into the Controllers folder. When you are done, you should see the following (make sure that on the LetsEat target is selected):

There is nothing special about the settings folder; it is just a screen with text. Let's look at how we can ...

Get iOS 12 Programming for Beginners - Third Edition 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.