jdg / MBProgressHUD

MBProgressHUD + Customizations
http://www.bukovinski.com/
MIT License
16.01k stars 3.56k forks source link

quick show:YES after hide:YES does not have an effect #276

Closed nickbit closed 9 years ago

nickbit commented 9 years ago

Hello, it seems that when trying to show the HUD and it is still in the hide process from a previous hide it does not show. Changing the animated parameter to NO, solves this, but apparently not the way it should.

fergalrooney commented 9 years ago

I may be seeing something similar in version 0.9.1. When I add the progress view using MBProgressHUD.showHUDAddedTo(self.view, animated: false) and retain the returned reference, calling instance method hide hides the view successfully, but when I call the show instance method, the progress view never shows. I reverted back to version 0.9.0 and it works fine again.

I've opened a separate issue to track as I think it's unrelated... https://github.com/jdg/MBProgressHUD/issues/279

nyekimov commented 9 years ago

Got the same problem. in 0.9.1 line [self setNeedsDisplay] was removed from method - (void)show:(BOOL)animated ; And smth else was changed. Smth that breaks the functionality.

matej commented 9 years ago

If you're using showHUDAddedTo... it's not a bug. See #279.

gerchicov-bp commented 8 years ago

the "solution" doesn't work for complex work