何时调用UIApplicationMain()?

时间:2011-02-22 08:51:38

标签: ios objective-c

函数UIApplicationMain()何时被调用?它定义在哪里?

1 个答案:

答案 0 :(得分:2)

通常在main.m函数中调用main()

int retVal = UIApplicationMain(argc, argv, nil, nil);

它定义为here

示例:

enter image description here