Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bhushanbafana opened this issue Sep 26, 2019 · 7 comments

Comments

@bhushanbafana
Copy link

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

@krimpedance
Copy link
Owner

@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.")
//            }
        }

@bhushanbafana
Copy link
Author

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

@krimpedance
Copy link
Owner

@bhushanbafana
Please change to my suggest code and run.

@bhushanbafana
Copy link
Author

bhushanbafana commented Sep 26, 2019

ok
@krimpedance

@bhushanbafana
Copy link
Author

@krimpedance
its working...thanku

@krimpedance
Copy link
Owner

@bhushanbafana
Thanks for check.

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

@bhushanbafana
Copy link
Author

bhushanbafana commented Sep 26, 2019

@krimpedance
yes all are same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants