Home > DeveloperSection > Interviews > Who calls the main function of you app during the app launch cycle?

Posted on    August-12-2015 11:31 PM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  372  View(s)
Rate this:

Tarun Kumar

Total Post:107

Posted on    August-12-2015 11:31 PM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick