Thursday, December 19, 2013

Asked the splash screen stays under three seconds I use sleep Why real test black stayed for three seconds

Asked the splash screen stays under three seconds I use sleep Why real test black stayed for three seconds
Reply:
Depends on how you write the code, what to do
If you sleep in before starting the animation, that normal black stay three seconds
Reply:
cited a floor cloudhsu reply:
depends on how you write the code, what to do
If you sleep in before starting the animation, it stays black for three seconds normal


- (Void) viewDidLoad {
[Super viewDidLoad];
sleep (3);
NSString * path = [[NSBundle mainBundle] pathForResource: @ "untitled" ofType: @ "plist"];
NSDictionary * dict = [[NSDictionary alloc] initWithContentsOfFile: path];
self.movieTitle = dict;
[Dict release];
NSArray * array = [[movieTitle allKeys] sortedArrayUsingSelector: @ selector (compare :)];
self.classes = array;
detailViewController = [[DetailViewController alloc] init];
Reply:
You can use performselect: afterdelay that method
Reply:
reference to the third floor zerocnd reply:
can performselect: afterdelay that method



Not used this code look no easy points
Reply:
http://www.cocoachina.com/iphonedev/sdk/2011/1028/3433.html

4
Reply:
Not use sleep, the main thread to sleep three seconds you say black is not black
Reply:
Upstairs a positive solution
Reply:
Did not understand what it meant. . . Sleep when you start the program for three seconds - so do not sleep on the implementation of the sentence in that place, such as three seconds after it - this time the program can not continue to go down, is not that what black stayed for three seconds ~
Reply:
The reply was deleted at 2011-11-01 09:36:41 moderator

Reply:
The reply was deleted at the moderator 2011-11-07 10:40:53

No comments:

Post a Comment