SVProgressHUD is not showing progress as expected.
Should I be doing something different?
[SVProgressHUD showProgress:(count/total) status:@"Downloading..."];
Is there a different method to call to set the progress?
SVProgressHUD is not showing progress as expected.
Should I be doing something different?
[SVProgressHUD showProgress:(count/total) status:@"Downloading..."];
Is there a different method to call to set the progress?
If it's not showing up at all and you're calling it from viewDidLoad, dispatching it into the main thread queue worked for me.
dispatch_async(dispatch_get_main_queue(), ^() {
[SVProgressHUD showProgress:(count/total) status:@"Downloading..."];
});
If it's showing up but the progress is 0, you should rule out an integer arithmetic rounding error by casting total or count to a double before division.