title: Set the application badge number in ios 9
body: <p>I'd used </p>
  
  <pre><code>[UIApplication sharedApplication].applicationIconBadgeNumber = 5;
  </code></pre>
  
  <p>for setting application badge number. It's not working in ios 9 alone.</p>
  
  <p>Can anyone suggest why?</p>
  
  <p>I tried,</p>
  
  <pre><code>[[UIApplication sharedApplication] setApplicationIconBadgeNumber:5];
  </code></pre>