//取消执行方法
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(animateHide) object:nil];
//延时执行方法
[self performSelector:@selector(animateHide) withObject:nil afterDelay:5.0f];
//取消执行方法
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(animateHide) object:nil];
//延时执行方法
[self performSelector:@selector(animateHide) withObject:nil afterDelay:5.0f];
本文标题:执行方法
本文链接:https://www.haomeiwen.com/subject/evocdxtx.html
网友评论