younger_times
2023-08-08 47a58a1a7d967464e93410e04791aaa4756c1cbd
WanPai/Config/Def.swift
@@ -69,10 +69,15 @@
    SVProgressHUD.showSuccess(withStatus: msg)
}
func showHUD(_ text:String){
    SVProgressHUD.show(withStatus:text)
func showHUD(_ text:String? = nil){
   SVProgressHUD.setContainerView(screnDelegate?.window)
   SVProgressHUD.show(withStatus: text)
}
func hiddenHUD(){
    SVProgressHUD.dismiss()
func hiddenHUD(_ delay:TimeInterval? = nil){
   if delay != nil{
      SVProgressHUD.dismiss(withDelay: delay!)
   }else{
      SVProgressHUD.dismiss()
   }
}