letalertVC =UIAlertController(title:nil, message:"保存成功", preferredStyle: .alert)
self.present(alertVC, animated:true, completion:nil)
DispatchQueue.main.asyncAfter(deadline:DispatchTime.now()+1.0) {
alertVC.dismiss(animated:true, completion:nil)
}
letalertVC =UIAlertController(title:nil, message:"保存成功", preferredStyle: .alert)
self.present(alertVC, animated:true, completion:nil)
DispatchQueue.main.asyncAfter(deadline:DispatchTime.now()+1.0) {
alertVC.dismiss(animated:true, completion:nil)
}