title: Update badge number when app is closed
body: <p>I am developing an iOS app that aims to receive push notifications as does <em>whatsapp</em>. But I do not know how to make the app when closed (idle, I do not mean in background), this update the badge counter. I can only send payload from a static number, but I can not update the total number of notifications.</p>
  
  <p>I searched a lot but I've only found a way to upgrade from background or foreground but never when fully closed. However <em>whatsapp</em> can.</p>
  
  <p>Thank you very much for your attention and apologies for my English.</p>