In iOS env, is it possible to make current thread sleep for seconds, then execute my code? NSTimer, GDC or any technique is okay for me.
Use the class method + (void)sleepForTimeInterval:(NSTimeInterval)ti
+ (void)sleepForTimeInterval:(NSTimeInterval)ti
The variable NSTimeInterval is of type double and represents the number of seconds to sleep
// Block for .5 seconds [NSThread sleepForTimeInterval:.5];