concept system in category ios

appears as: system, system, The system
iOS 4 in Action: Developing iPhone and iPad Apps

This is an excerpt from Manning's book iOS 4 in Action: Developing iPhone and iPad Apps.

Alternatively, if your program has preferences that don’t change that much, particularly if the defaults are usually okay, you should instead set them using the system’s settings. Typically, you use this option when your configuration controls are pretty standard, because this method is limited to a specific set of possible interactions. This type of device-centric setting can be seen in the iPod, Mail, Phone, Photos, and Safari applications, all of which have their settings available under the Settings icon on the device screen.

Start by logging into your iOS developer account. Then, open the program portal, and navigate to the App IDs tab. If you haven’t already done so, you’ll need to add your application bundle identifier to this list. The format for this should be reverse domain—for example, com.rightsprite.pushtest. Make sure you don’t use any wildcards, because the system must be able to uniquely identify your application.

It should become apparent how this approach solves the issue of background processing for most applications. In the case of an instant message program, users can opt to stay online via the chat server. That way, they can exit the application and the server can push notifications any time they receive a new chat message. Users don’t have to waste system memory having their chat client run in the background, pinging the server for new messages. Push notifications are simple to include in your applications, because little code is required. One challenge is the fact that in addition to enabling your applications for push notifications, you must also create a push provider. We’ll discuss both of these aspects of the system and show you how to create a full system for sending and receiving push notifications.