Is there a safe way to schedule an alert for an calendar app?
<p>I want to make a special calendar app, but I am afraid it's not possible to safely schedule an alert for an event.</p>

<p>For example: I set up an alert for an event which starts in 3 months. I want to get notified 2 days before the event starts. In iOS 4 there is multitasking, so my app could run in the background all the time. </p>

<p>But now lets imagine it's a hardcore iPhone user who plays huge memory-intensive games all the time. At some point, iOS might kill my background app. Or the user might restart the device and forget to launch my app. So it could happen that the alert never happens. Bad thing.</p>

<p>Is there a safe way to ensure that an scheduled alert is thrown at the user, just like it is the case with the built in alarm clock app or the calendar app?</p>
