Q:
Who calls the main function of app during the app launch cycle?
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.
View answer
Workspace
Report Error
Discuss