Different states of an iOS app

Different states of an iOS app:
  1. Not Running 
  2. Inactive
  3. active
  4. Background
  5. Suspended
1. Not Running

App is usually in this state when it is not launched yet or was running but was terminated by the system 

2. Inactive

App is running in the foreground but is currently not receiving any user events (it may be executing other code though), App usually enter into this state only briefly as it transitions into different state.

3. Active

App is in the Foreground and receiving user events. This is normal mode for foreground apps.

4. Background

App is in the background and executing code. Most app enters into this state briefly on their way to being suspended. However the app that request the extra execution time may remain in this state for a period of time.

5. Suspended

App is in the background but not executing code. The system moves apps to this state automatically and does not notify them before doing so, while suspended app remains in memory but does not execute any code

When a low memory condition occurs, the system may purge suspended apps without notice to make more space for foreground app.

Apps must be prepared for termination to happen any time and should not wait to save user data to perform other critical tasks. Suspended apps receives no notification when they are terminated.


if the app is currently running in the background and not suspended, the system calls  applicationWillTerminate: of its app delegate prior to termination. The system does not call this method when the device reboots.

17 comments:

  1. I am expecting more interesting topics from you. And this was nice content and definitely it will be useful for many people.
    iOS App Development Company
    Android App Development Company

    ReplyDelete
  2. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
    Sms marketing
    Text message marketing
    Fitness SMS

    ReplyDelete
  3. Thanks for sharing this important information which give some tips about on this topic.
    ios app development Brisbane

    ReplyDelete
  4. I am wondering and looking this website. I got sufficient information from your soul of heart. - iphone service center in ambattur

    ReplyDelete
  5. Awesome article I really impress it’s very informative and useful.Thanks

    Custom Software Development Australia

    ReplyDelete

  6. good post.the given information is very helpful.keep posting like this.Best Mobile Applications Company in Hyderabad

    ReplyDelete
  7. I really enjoyed reading this article. Keep posting useful content. For best quality mobile apps solutions visit at
    Top App Development Company Dubai

    ReplyDelete
  8. Thanks for sharing this informative post. Great work.
    Top Website Designing Company Dubai

    ReplyDelete
  9. Very nice post. I appreciate you for sharing this wonderful post. Keep posting.
    If you are looking for the best Website Design Company in Dubai visit at
    https://futureworktechnologies.com/

    ReplyDelete
  10. It 's excellent posting and useful for developers
    iOS Online Training

    ReplyDelete