title: How to change badge count?
body: <p>I’m using CKSubscription to send push notifications, I send them well and the device receives everything correctly, but my badge count is always +1 to what it was before? How can I set it to 0 after the app was run? </p>
  
  <p>I have added this code to func application didFinishLaunchingWithOptions </p>
  
  <pre><code>UIApplication.shared.applicationIconBadgeNumber = 0
  </code></pre>
  
  <p>But when you run the app, the badge disappears, receiving the next push notification the number rises again. </p>