uiapplication - How does main.m works in iOS? -
int main(int argc, char *argv[]) { nsautoreleasepool *pool = [[nsautoreleasepool alloc] init]; int retval = uiapplicationmain(argc, argv, nil, nil); [pool release]; return retval; } will uiapplicationmain() call return after completion of our application execution? because have next line [pool release]
how can pass command line argument in main()?
what possible int value uiapplicationmain() return , state?
will uiapplicationmain() call return after completion of our application execution? because have next line [pool release]
uiapplicationmain() never return. [pool release] , return aesthetic balance.
how can pass command line argument in main()?
the command line arguments there in argv. can them prior uiapplicationmain(). if mean "how access them outside of main()," see nsprocessinfo. not useful in ios.
what possible int value uiapplicationmain() return , state?
there none. see uikit function reference.
Comments
Post a Comment