1 Reply
      Latest reply: Oct 20, 2016 3:17 PM by eskimo RSS
      swtantra Level 1 Level 1 (0 points)

        We have a chat application where we show unread message count on application icon, everything works ok in foreground and background mode but if application is killed or terminated by user/system, we can not show the badge count, We have a push message service so we got the notification in killed state also but as calculation is done locally , How Can I calculate the badge against new message. Can we do any processing in killed state or configure application such that it awake itself from killed state and do some processing in background?

        • Re: Increment badge Count in killed state
          eskimo Apple Staff Apple Staff (7,005 points)

          Can we do any processing in killed state or configure application such that it awake itself from killed state and do some processing in background?

          No, and no.  In general iOS interprets the user killing you app as a clear signal that they don’t want you app to run, and thus it won’t run be allowed to run in the background until the user next manually launches it.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"