Like iOS 5:
- When the
UILocalNotification device UILocalNotification delivered while the device is locked, it appears on the locked screen using the swipe slider to open the application. - If a notification is delivered while using the device, it can be displayed either as a banner at the top of the screen, or as a warning with two buttons.
- One button is always a cancel button.
- Another button opens the application. You can change the text of this button by setting the
alertAction property. - You can disable this action button in the notification by setting
hasAction = NO in the notification).
There are no other methods available to receive notification of a notification, unless, of course, the device was hacked. In this case, a lot of things are possible.
Prior to iOS 5, only pop-up alert notifications were supported.
Due to the nature of iOS, it is technically impossible to deliver a notification in any other way or to set up an alert, since the delivery of notifications is processed by the system and the application does not have access to the system’s user interface and therefore cannot display any messages by itself. And even if you somehow manage it, Apple will not allow it.
Read the UILocalNotification docs here: http://developer.apple.com/library/ios/#DOCUMENTATION/iPhone/Reference/UILocalNotification_Class/Reference/Reference.html for more details.
source share