ProgressHUD icon indicating copy to clipboard operation
ProgressHUD copied to clipboard

Can not show immediately another HUD after dismissing previous one

Open kishanios123 opened this issue 4 years ago • 1 comments

The below code is not showing the Second HUD.

ProgressHUD.show("First Hud...",interaction: false) DispatchQueue.main.asyncAfter(deadline: .now()+4.0) { ProgressHUD.dismiss() ProgressHUD.show("Second Hud...",interaction: false) DispatchQueue.main.asyncAfter(deadline: .now()+4.0) { ProgressHUD.dismiss() } }

kishanios123 avatar Jan 13 '22 09:01 kishanios123

The below code is not showing the Second HUD.

ProgressHUD.show("First Hud...",interaction: false) DispatchQueue.main.asyncAfter(deadline: .now()+4.0) { ProgressHUD.dismiss() ProgressHUD.show("Second Hud...",interaction: false) DispatchQueue.main.asyncAfter(deadline: .now()+4.0) { ProgressHUD.dismiss() } }

Hi, were you able to correct this behavior?

I keep getting the same error.

SynthesOne avatar Jan 18 '22 10:01 SynthesOne