iPhone Question: Download iPhone PDF

Who calls the main function of you app during the app launch cycle?

Tweet Share WhatsApp

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 iPhone PDF Read All 52 iPhone Questions
Previous QuestionNext Question
List down apps state transitions when it gets launched?Give example scenarios when an application goes into InActive state?