title: How can I schedule local notification for the following scenario?
body: <p>Experts, I have a scenario wherein I need to notify user three times a day (morning, afternoon, evening). And the timings for these notifications will be different for each day, based on database values for each date.</p>
  
  <p>These three notifications are configurable. Meaning user might just choose to set afternoon and evening while turning off morning notification under settings.</p>
  
  <p>As per my understanding I can achieve this using local notifications.</p>
  
  <p>I can do the following:
  - before the application exits, inside didFinishLaunchingWithOptions, I can check what is the next notification due, is it set (on/off). If it is set I schedule it. If not I move on to the next notification type and do the same thing. If all the notifications are turned off, obviously, no notifications will be scheduled.</p>
  
  <p>Now when the notification shows up i get to see alert with two buttons "Close" and "View".
  If user selects "View" My app is back to active and before user exits next notification is scheduled.</p>
  
  <p>So far so good.</p>
  
  <p>Now if user choose to select "Close" What do I do? It wont launch my app and consequently next notification wont be scheduled?</p>
  
  <p>How do I achieve this?
  Is there any better way to do this?</p>
  
  <p>Help! Help! Help!</p>