Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Signing an application with a push-compatible mobile provision is just the first step to working with push notifications. The application must request to register itself with the iOS device’s remote notification system. You do this with a single UIApplication call, as follows. The application: didFinishLaunchingWithOptions: delegate method provides a particularly convenient place to call this.
[[UIApplication sharedApplication]
registerForRemoteNotificationTypes:types];
This call tells iOS that your application wants to accept push messages. The types you pass specify what kinds of alerts your application will receive. iOS offers three types of notifications:
• UIRemoteNotificationTypeBadge—This notification adds a red badge to your application icon on SpringBoard.