Posting a Message in iOS Notification Center

iOS Notification Center allows an application to notify the user without the interruption of using a popup dialog. Previously, the UILocalNotification API allowed a foreground or background application to show messages using a popup dialog. However, this proved to be an annoyance when a popup was posted by a backgrounded application and the user was in the middle of working with the application in foreground. The UILocalNotification API has now been migrated to use the notification center. In this tutorial, we will learn the basics of using the notification center.

Continue reading