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 |
What's fast enumeration?
What are ios protocols?
What is nsuserdefaults? What type of data can we store there?
Explain parent-child context setup. How does it work? What are the advantages?
What is a view controller in ios?
What is atomic and nonatomic in iOS operating system? What is run loop in iOS ?
Find the letter count in UItextfield? Including first character?
What is use of uiapplication class?
Explain shallow copying and depth copying.
What is thread in ios?
What is thread safe?
What is tableview datasource?