I'm having an issue with the setContainerView
, the progress is not showing at all when I assign it to a custom view. I've tried everything with my UIView which is perfectly fine, but the progress remains invisible.
I've used it for a while now and had no problems without custom container views.
Any ideas ?
EDIT
For exemple, this is working (progress showing):
func download() {
SVProgressHUD.show()
User.downloadAllUsers { (user) in
//Doing things
DispatchQueue.main.async {
//Updating UI
SVProgressHUD.dismiss()
}
}
}
But this is not working (progress is not showing)
func download() {
SVProgressHUD.setContainerView(loadingContainerView)
SVProgressHUD.show()
User.downloadAllUsers { (user) in
//Doing things
DispatchQueue.main.async {
//Updating UI
SVProgressHUD.dismiss()
}
}
}