-1

Im trying to let my App wait for 5 seconds. But it doesnt matter if I use sleep() or wait() in my created thread, My screen always gets white and after the 5 seconds it does what it should. How can I let the App wait without pausing the screendisplaying.

user2167495
  • 25
  • 1
  • 7

1 Answers1

0

You should think about implementing some sort of timer, instead of sleep or wait. This will allow rendering and other things to continue while your timer completes.

Tutorial here: CountDown Timer ios tutorial?

Community
  • 1
  • 1
Goran
  • 677
  • 3
  • 22