开发者

How to add background process in iphone? [duplicate]

This question already has answers here: Closed 11 years ago.

Poss开发者_如何学Pythonible Duplicate:

how to run my application in background in iphone?

Hi friends. Am new for iphone applicaions. Now am struggle with add Background process in my application. That means i need to run my application after ckick "iphone HOME button". How can i do this.. Can anyone help me???

Thanks in advance...


Since iOS 4.0 iPhone supports "multitasking" this means if you click the home button your app sleeps, this needs almost no battery or memory and if the iPhone run out of memory it will terminate sleeping applications.

Every app supports this kind of multitasking exepted you don't allow it for your app.

But there are also three real multitasking functions:

  • VoIP
  • GPS
  • Music

Those three functions you can really use for multitasking apps. But nothing more...


Your application will move to background,if your iPhone device support multitasking feature, you can select and bring that in foreground, And multitasking is supported in iOS 4.0 and onward.

So for the iOS 3.0 and below, when you click on the Home button then your application is automatically terminated my iOS itself.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜