How can I run a clock that allows me to measure time to load up to app defunct launch?
I want to set up sleeping calls that impover The expansion time of 3 expands to 3 seconds, but regardless of the speed of the underlying hardware. First of all, you should know that the iPhone OS has little choice about the Springboard load bar. You should call sleep somewhere in the application's loading process. If the Springboard detects that your application is taking too much time to launch, then your application will end in "Time to launch on time" in the crash log.
The second, no one, as far as I know, the method of measuring time taken to start your application. The user is doing in many ways when the user taps the app icon to the springboard, and the iPhone OS does not provide good information in your application.
A solution may be to make sure your applicationDidFinishLaunching:
Too is light, and create a "fake" default.png overlay AppDefinition Launching:
To do the most necessary stuff, and reducing the work that you use at any time in the background, you can make sure that your default junction overlay is almost the same time Hardw is displayed on different Year.
- (minus) Aplikeshndiffisः launch: (UIApplication *) Create image of the scene with the default design on the application {// application UIImageView * defaultPNG = [[UIImageView alloc] initWithImage: [UIImage imageNamed : @ "Default.png"]]; // Add the image view at the top of the window [Add window: Default PNG]; [Window-making and knowledgeable]; // start things time-consuming background [self-executable selector Background: @ selector (Lodstaf) of Sathobjekt: nil]; // Default after 3 seconds - Remove } - (void) removeDefaultPNG: (UIImageView *) defaultPNG {// We believe that this application loads the default PNG overlay / / It may not be the case, so you can see that remove overlay is it ok [Default PNG removalProvisionView]; [Default PNG release]; }
If you loadStuff
more visual method (your view controller, etc.) are added, you put them under the default PNG overlays. You should be aware of those things that can make the other thread to these things. You can use the performers Hanonmainthred: Sathobjekt: Prticshauniton:
If you encounter any problems.
Comments
Post a Comment