Thursday, December 26, 2013

How to automatically advance to the next screen to stay in one interface after 2 seconds?

I want to be the splash screen, the next screen automatically stop after 2 seconds.
Some people say that - (void) viewDidAppear: (BOOL) animated in
Join [self perforSelector: @ selector (jump :) afterDelay: 2.0] This
Compile-time warning Startpage may not respond to '-performSelector .....' this,

performSelector in the end how to use?
What are we going to increase the head?
Reply:
You can try statement self to self.view, before afterDelay added withObject: nil
Reply:
Seemingly not. .
Reply:
Write a stay of two seconds, and then call this function on the line
Reply:
reference to the third floor linux_fay reply:
stay two seconds to write a program, and then call this function on the line

Where to tune this function?
Reply:
withObject: nil
Wrote WithObject: nil
I do not give a wrong report, well done. . . . . . . fuck Xcode
......
Reply:
You can use the timer NSTimer * timer;

timer = [NSTimer scheduledTimerWithTimeInterval: 2.0
target: self
selector: @ selector (jump :)
userInfo: nil
repeats: NO];

Reply:
performSelector is coupled Nsobject in the header file the same as adding Agreement
Reply:
6th Floor, positive solutions

No comments:

Post a Comment