What’s the contrast between active, inactive, not-running, background and suspended execution states?

devquora
devquora

Posted On: Feb 22, 2018

 

There is a considerable contrast between them:
  1. Not running: The application has not been mainly launched or was running but rather was ended by a system.
  2. Inactive: The application is running in background, however, is as of now not accepting events. (It might execute other code, however.) An application, for the most part, remains in this state just quickly as it advances to an alternate state.
  3. Active: The application is running in background and is accepting events. This is the typical mode for foreground applications
  4. Background: The application is running in background and executing code. Most applications enter this state quickly on their approach to being suspended. In any case, an application that requests additional execution time may stay in this state for a timeframe. Likewise, an application being launched straightforwardly out of spotlight enters this state rather than the inert state.
  5. Suspended: The application is out of sight however isn’t executing code. The system moves applications to this particular state consequently and also do not inform them before doing as such. While suspended, an application stays in memory, however, does not execute any code. At the point when a low-memory condition happens, the framework may cleanse suspended applications to make more space for the foreground application.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Objective C Interview Questions

    Tell me something about Objective-C blocks?

    In the Objective-C class, there are a question that combines data with its related behavior. It empowers you to form pa..

    Objective C Interview Questions

    Tell me about important protocol being used in Objective C?

    In Objective-C, the protocol is the language include, that gives the multiple inheritances in the single inheritance la..

    Objective C Interview Questions

    How would I make a static strategy?

    Methods are actualized continuously in Objective-C as static functions. The best way to acquire the IMP of a technique ..