title: iOS badge number live update
body: <p>I created a custom calendar for iOS , and I am trying using badge number to show number of the Day , but numbers did not change after one day passed , I mean they should update lively here is my code : <strong>I need something like weather live application , this application does not send any push notification !</strong> </p>
  
  <pre><code>    int a = [DateComponents showDay];
      [UIApplication sharedApplication].applicationIconBadgeNumber = a ;
  </code></pre>