O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

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

Working with local notifications

We talked a lot in the previous sections about Push Notification, which is a notification that can be sent from a server side to the app and requires the Internet connection. There is another type of notification, which is the local notification. Local notification is a notification that you can build and register within the app itself with no need for a server to send the notifications. This type of notification can be used for reminders, alarms, and so on. In this section, we will build a screen where a user can create a reminder and the app will notify the user locally.

How to do it...

  1. Open the storyboard file in the demo project. Select the initial view controller and click on Editor | Embed In | Navigation Controller ...

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