1 Reply
      Latest reply: Dec 7, 2016 7:14 AM by eskimo RSS
      zhuzh Level 1 Level 1 (0 points)

        how  long app keep alive in the background?

         

        - (void)applicationDidEnterBackground:(UIApplication *)application { }

         

        app 4 status:

        1: app running in the foreground

        2: app running in the background of memory

        3: app not running in the background of memory, hang up

        4: app was killed, no running, no in memory

         

        when app status is " 2: app running in the background of memory", ios system has a default application running time.

        this time I want to know how much is the concrete under different systems.

         

        ios6 is 300 second?

        ios7 is 180 second?

        ios8

        ios9

        ios10

         

        thanks!

        • Re: how  long app keep alive in the background?
          eskimo Apple Staff Apple Staff (6,260 points)

          how long app keep alive in the background?

          You have to define you what you mean by “alive”.  Are you talking about running in the background?  Or suspended in the background (that is, in memory but not running)?

          Share and Enjoy

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