When is UIApplicationMain() called?
When is the function UIApplicationMai开发者_运维百科n()
called? And where it is defined?
It's typically called in main.m
, within the main()
function:
int retVal = UIApplicationMain(argc, argv, nil, nil);
It's defined here.
Example:
精彩评论