升级后的延时方法
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
// your function or code here
}
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
// your function or code here
}
2017-05-22