swift3.0 延遲執行

//延時1s執行async DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Double(Int64(1*NSEC_PER_SEC))/Double(NSEC_PER_SEC)){  spa //codecode }class
相關文章
相關標籤/搜索