iOS Question:

Download Job Interview Questions and Answers PDF

Who calls the main function of app during the app launch cycle in iOS?

iOS Interview Question
iOS Interview Question

Answer:

During app launching, the system creates a main thread for the app and calls the app's main function on that main thread. The Xcode project's default main function hands over control to the UIKit framework, which takes care of initializing the app before it is run.

Download iOS Interview Questions And Answers PDF

Previous QuestionNext Question
Explain app's state transitions when it gets launched?How to switch off predictive text?