My app takes too much time to loading. So I put a NSLog in main() function like this to measure loading time from first:
int main(int argc, char *argv[])
{
NSLog(@"main");
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}
But, the log displayed at really later time. Default.png displayed about 5 seconds, all loading process completed in 1~2 seconds after log appeared.
What's happening before executing main() function on iPhone app?