iPhone:How to create thread running in the background always?
<p>I want to initiate a separate thread apart from main thread and do some operations continuously even when my app is closed. I tried <code>detachNewThreadSelector</code>, but it doesn't work continuously and that too it needs my app to be launched. </p>

<p>And whenever I don't need it, I want to stop the thread as well. It is possible in Android, don't know how to do in iOS. How can I achieve it, could someone guide me on this? I am developing on iOS 4.3 SDK.</p>
