2018-07-15 延遲執行,與取消延遲執行 避免重複快速點擊的方法

轉自 //延遲oop [self performSelector:@selector(onClickOverlay:) withObject:nil afterDelay:3.f];orm //這個是取消當前run loop 裏面全部未執行的 延遲方法(Selector Sources) [NSObject cancelPreviousPerformRequestsWithTarget:self]
相關文章
相關標籤/搜索