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