How can I hide an image after a specific time period?
The simplest way I know is to use:
[self performSelector:@selector(hideImage) withObject:nil afterDelay:2.0];
and then set a method:
-(void)hideImage{
image.hidden = YES;
}
For the hiding method it is really depends on what kind of image you are using and if you want to show it again later.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With