UIView 删除 多少秒后执行

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

UIView *view = [UIView new];
[view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:2];

//两秒后执行删除view