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() } }