parisianastro97
parisianastro97

Reputation: 51

Stay on screen for specific number of seconds, then go to next one?

I am trying to make a memory app, where the screen has to stay there for about 10 seconds, then it has to flip, or in other words, go to the next screen? Should I do this by using a timer and connecting it to the screen that I need to connect it to? I am a bit confused by how this works..

All help is appreciated. Thanks

Upvotes: 0

Views: 58

Answers (1)

Jsdodgers
Jsdodgers

Reputation: 5312

You could just use:

[self performSelector:@selector(selector) withObject:nil afterDelay:10];

and have the selector load the new view.

Upvotes: 2

Related Questions