Name and explain the iOS app states.
Answer / 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 |
Does ios support multiple inheritance?
Explain how app delegate is declared by Xcode project templates?
Do you know what is iphone sdk?
What is made up of nserror object?
If you use location services in your app, will it drain your battery.if yes? How can we avoid?
What is message forwarding?
What is the difference between atomic and non-atomic properties? Which is the default for synthesized properties? When would you use one over the other?
In which language ios is written?
When was ios invented?
. Apart from incorporating views and controls, what else an app can incorporate?
What is the use of the UI Automation API?
What is arc and how is it different from autorelease?