After showing loader other Success or Error view not getting display in Same VC: Xcode 11
bhushanbafana opened this issue · comments
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.")
// }
}
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.
ok
@krimpedance
@krimpedance
its working...thanku
@bhushanbafana
Thanks for check.
Please check whether KRProgressHUD files on your project (under Pods/
) and github files is same.
@krimpedance
yes all are same