Working with Local Notifications in iOS

Dheeraj Kumar Gunti

Reading Time : ( words)

Hi All, Welcome back to Knowledge Base.

Usually in any mobile application which we deal with manipulating data, we need to have a mechanism to indicate to the user about the changes that are been done to the data. Either we can do them by Alerting or by notifying them.

In Today's example we will see how to deal with local notifications in iOS application.

Create a basic iOS application and in one of the view controller have the below logic where on performing certain actions you need to configure the local notification.

We have done configuring the Local notification. But our application should notify us when the notification arrives.

We will do that AppDelegate. We need to override ReceivedLocalNotification which deals with notifying the user when notification comes.

This is the simple way to configure and notify the user when any local notification comes.

Hapy Coding....