title: Increase Badge Count From Client side not from Payload Receive count
body: <p>I am working on application that receives notification and set application badge.<br> The problem is that when the application is in background state or terminated, the badge count isn't increased.<br>It remains same.</p>
  
  <p>While when app is in foreground method calls and badge count increased.<br>I already did that thing from server side, <br><br>but I want to know that <strong>Is there any method that execute when app is in background or terminated for increasing application badge number?</strong><br></p>
  
  <p>I already told you I have done this thing as</p>
  
  <pre><code>{
      "aps" : {
          "alert" : "You got your emails.",
          "badge" : 9
      }
  }
  </code></pre>
  
  <p>from server side but what I want is :<strong>I dont want to receive that badge count from server payload but I want to increase badge count from my side.</strong><br> <br><strong>My logic is like that when I receive first notification I saved count in userdeafualts in didReceiveNotification and when I second notification I added count with +1 and when app is in foreground I directly change that badge count as 0 in userdefaults BUT THIS METHOD CANT WORK IN BACKGROUND OR APP TERMINATED</strong></p>
  
  <p><strong>SO I WANT TO KNOW IF THERE IS ANY METHOD THAT EXECUTES IN BACKGROUND OR APP IS TERMINATED SO I CAN INCREASE BADGE COUNT</strong></p>
  
  <p>If anyone knows please help me do it from my side.</p>