Commit 5f11fba4 authored by shenyong's avatar shenyong

fix bugs

parent e550d783
...@@ -18,13 +18,11 @@ class PMLoadingHUD{ ...@@ -18,13 +18,11 @@ class PMLoadingHUD{
return loadingView return loadingView
}() }()
func show(){ func show(){
DispatchQueue.main.async { DispatchQueue.main.async {
self.loadingView.animationView.play()
KEYWINDOW()?.addSubview(self.loadingView) KEYWINDOW()?.addSubview(self.loadingView)
self.loadingView.animationView.play()
} }
} }
func disMiss(){ func disMiss(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment