title: iOS4 Create Background Timer
body: <p>I (Basically) need to create a background timer on iOS 4 that will allow me to execute some code when a specific amount of time has passed. I have read that you can accomplish this using some <code>[NSThread detachNewThreadSelector:
    toTarget:
    withObject:];</code> but how does that work in practice? How can I ensure that the thread remains in the background also. Local notifications will <strong>NOT</strong> work for me, as I need to execute code, not notify the user.</p>
  
  <p>Help would be appreciated!</p>