41⟩ Name the app sate which it reaches briefly on its way to being suspended?
An app enters background state briefly on its way to being suspended.
“iPhone frequently Asked Questions by expert members with experience in iPhone . These interview questions and answers on iPhone will help you strengthen your technical skills, prepare for the interviews and quickly revise the concepts. So get preparation for the iPhone job interview”
An app enters background state briefly on its way to being suspended.
Background state.
An app is said to be in suspended state when it is still in memory but is not executing any code.
In case system is running low on memory, the system may purge suspended apps without notice.
Controller object UIApplication is used without subclassing to manage the application event loop. It coordinates other high-level app behaviors.
It works along with the app delegate object which contains app-level logic.
App delegate is declared as a subclass of UIResponder by Xcode project templates.
In such case the event will be dispatched to your app delegate for processing.
Data model objects are app specific objects and store app’s content. Apps can also use document objects to manage some or all of their data model objects.
Document objects are not required but are very useful in grouping data that belongs in a single file or file package.
To change the content of your app, you use a view controller to change the views displayed in the corresponding window. Remember, window itself is never replaced.
The app delegate object is created by UIApplicationMain function at app launch time. The app delegate object's main job is to handle state transitions within the app.
View controller objects takes care of the presentation of app's content on the screen. A view controller is used to manage a single view along with the collection of subviews. It makes its views visible by installing them in the app’s window.