krimpedance / KRProgressHUD

A beautiful and easy-to-use progress HUD for your iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After showing loader other Success or Error view not getting display in Same VC: Xcode 11

bhushanbafana opened this issue · comments

commented

Hi,
on api call I'm showing loader and on success I'm showing Success view but its not getting display, I tried too many times.
Xcode version - 11
pod version - 3.4.2

@bhushanbafana
Is a demo project same? (under DEMO/ dir)

Please check with:

// ViewController.swift:48

        DispatchQueue.main.asyncAfter(deadline: delay) {
            KRProgressHUD.showSuccess(withMessage: "OK")
//            KRProgressHUD.dismiss {
//                print("dismiss() completion handler.")
//            }
        }
commented

I have checked in
viewcontroller.swift: 48
DispatchQueue.main.asyncAfter(deadline: delay) {
KRProgressHUD.dismiss {
print("dismiss() completion handler.")
}
}

@bhushanbafana
Please change to my suggest code and run.

commented

@krimpedance
its working...thanku

@bhushanbafana
Thanks for check.

Please check whether KRProgressHUD files on your project (under Pods/) and github files is same.

commented

@krimpedance
yes all are same