Does iOS have something like Android's AlarmManager?
<p>What is iOS' alternative to Android AlarmManager class?</p>
<p>So far the closest thing that I found is NSTimer. But that works only when your application is up, once it goes to the background it won't work, and I need to run some function in the background and from my business logic to decide if I want to do something or not. For example if some condition is satisfied to display local notification.</p>
<p>The only workaround I found is to use remote pushing notifications (silent notifications) just to wake up app, and from there you can implement your business logic.</p>
<p><em>IMPORTANT NOTE</em></p>
<p>From what I have found on few places is that people are complaining about using silent notifications to do this because your application might be rejected on app store.</p>