jdg / MBProgressHUD

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

Hide hud not working in XCODE 9 and SWIFT 4.0 #517

Open ankitbansal806 opened 6 years ago

matej commented 6 years ago

This needs way more info. https://github.com/jdg/MBProgressHUD/blob/master/CONTRIBUTING.md#bug-reports

alkanyunus commented 6 years ago

Nope, It works properly.

 DispatchQueue.main.async {
                                DispatchQueue.main.asyncAfter(deadline: .now() + 0.01, execute: {
                                    MBProgressHUD.hide(for: self.view, animated: true)
                                })

                    }