title: iOS Development: Push notifications prevent my local notifications from firing
body: <p>I have an alarm clock app that's designed to function in a specific way when it's running in the foreground and it receives a local notification that was schedule by my app.  When the user sets an alarm, my app creates a local notification.  When that local notification fires, it calls the <code>didReceiveLocalNotification</code> method to alert the user.  The problem is, if my app is running in the foreground and push notification comes in from a different app, then it displays the modal push notification view, which prevents my app from alerting the user when the local notification fires.  As soon as I dismiss the push notification modal view, then my app fires the local notification.  Is there a way around this?  I ask because if my app doesn't set off the alarm when the user schedules it to fire, then it kinda defeats the whole purpose of setting an alarm.</p>
  
  <p>Thanks so much for your wisdom!</p>