English 中文(简体)
摘自SOS4:从背景过程中发送驱动数据
原标题: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

因此,任何人都能够证实,在电话4上的SOS4能够将数据推向背景过程的服务器?

问题回答

申请可以两种方式接收和答复背景地点事件:

  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).

http://developer.apple.com/iphone/library/releasenotes/ General/Whats NewIniPhoneOS/Articles/iPhoneOS4.html“rel=”





相关问题
touchesBegan @ multitask

Is it possible to access to the touchesBegan event while application is running in background in iPhoneOS 4.0 ? Thanks in advance.

controlling threads flow

I had a task to write simple game simulating two players picking up 1-3 matches one after another until the pile is gone. I managed to do it for computer choosing random value of matches but now I d ...

Some more multitasking java issues

I had a task to write simple game simulating two players picking up 1-3 matches one after another until the pile is gone. I managed to do it for computer choosing random value of matches but now I d ...

Tips on managing all the godly wonders of information?

Ever since I started coding back in 2008 I was addicted to it and I still am today. Typically not a day goes by that I don t touch some code. What the hell is my point... I ll get to it soon I promise....

iphone multitask

I want to make my iphone run application in the background.I know there is a program called "backgrounder",but it isn t I want.What should I do?

Android application acting crazy after coming from background

I am displaying search results from a webservice. What I do is OnCreate I hit the webservice display records, as android supports multitasking. If user opens another screen and after some time comes ...

热门标签