How to Customize Your iOS App Table View for the iPad
How to Add a Toolbar to Your iOS App
How to Add a New View Controller to Your iOS App

iOS 6 App Development: Multitasking, Background Processing, and Notifications

Although iOS doesn’t have true multitasking, it has instant-on task switching that reduces application startup and makes it easier to continue right where you left off. For certain kinds of applications, you can also process events in the background. Such applications include the following:

  • Audio: Many apps play audio in the background.

  • Location: Many apps process location events (information the iOS sends to your app about changes in location) in the background.

  • VoIP: Many apps provide the ability for the user to make Voice over Internet Protocol calls — turning a standard Internet connection into a way to place phone calls.

  • Newsstand-Content: The Newsstand apps download and process content in the background.

  • External-Accessory: Some apps work with a hardware accessory that delivers updates.

iOS also offers push notifications for receiving alerts from your remote servers even when your app isn’t running, and local notifications that you can use in your app to alert users of scheduled events and alarms in the background (no servers required).

You can use local notifications to get a user’s attention; for example, a driver navigation application running in the background can use local notifications to alert the user when it’s time to make a turn. Applications can also schedule the delivery of local notifications for a future date and time and have those notifications delivered even if the application isn’t running.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
How to Set Up a WeatherController in the Main_iPad.storyboard file for Your iOS App
How to Use Inspector and Quick Help Pane for iOS App Development
How to Add a Button to Your iOS App
How to Use the Library Pane for iOS App Development
How to Create an Xcode Project for an iPad App
Advertisement

Inside Dummies.com