开发者

Multitasking in iOS4 : sending push data from background process

In OS4 the idea is sold to client is that the app is opened in background, and even if the user is on another app, the app can push data to server on regular 开发者_如何学编程basis (which would trigger push notifications btw) BUT on what i read on the internet is that IOS4 multitasking is a fake one : - it freezes the app, and doesn't leave it in background - the developper has to specify the app must work in IOS4 (iOS4 qualification process) to ensure that returning on the app won't start agin from beginning

So can anyone confirm that in iOS4 on iphone 4 the app can push data to server in background process ?


Apps can receive and respond to location events in the background in two ways:

  1. Applications can register for significant location changes only (your app runs in the background when a significant change in location occurs).
  2. An application can declare itself as a continuous background location application (full-time background processing in response to all location events).

There's more information about iOS 4 multitasking available in Apple's guide to What's new in iOS 4, and the iOS 4 Application Programming Guide's Background Tasks section.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜