I want to change my UILabel\'s text after 2 seconds.
UILabel
I tried setting my UILabel\'s text to \"A text\", and use sleep(2) a
sleep(2)
You can use
[self performSelector:@selector(changeText:) withObject:text afterDelay:2.0];
or if you want to display it periodically, check the NSTimer class.