title: Make iOS application run at startup
body: <p>How can I make an app run at startup and not in the background. I need it in foreground for the whole time. Is that possible?</p>
  
  <p>I have:</p>
  
  <pre><code>[UIApplication sharedApplication].idleTimerDisabled = YES;
  </code></pre>
  
  <p>Thats keeps an app always running in the foreground.
  But I don't know how make it run at iOS startup in foreground.</p>