Name and explain the iOS app states.

Answer Posted / maanya

Not Running: The app was running but was terminated, or was not launched.
Inactive: The app is running in the foreground, but is not receiving any events, apps turn into this state for several reasons, it can be transitioning to another state, if the user locks the screen, calls or receives a call or SMS.
Active: The app is receiving events and is running in the foreground.
Background: Apps go to this state before being terminated, they are in the background but still execute code. You should know that this is not the only reason, they can go this state also to be launched directly from this state, so they do not need to turn into inactive state.
Suspended: Apps in this state are in the background but are not executing code, the system do not notify before doing this and apps are still in memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How core data differs from sqlite?

593


Which language is best for ios development?

576


applications that can be used with iphone

587


How to add an iphone os user to your team as a tester?

550


What is a thread in ios?

527






What is the meaning of 'strong'keyword?

644


Are ios developers in demand?

583


Does ios support multitasking?

611


What is polymorphism in ios?

589


Can python apps run on ios?

592


How you will store user info (username, password or token) securely in ios?

556


What is ios layer?

562


What is callback in ios?

585


An app is loaded into memory but is not executing any code. In which state will it be in?

582


Can we save posts to local drafts and figure out how to publish to the blog. What do we need to do?

548