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

M13ProgressViewRing setProgress: animated: does not work #73

Closed
WuKongCoo1 opened this issue Jul 21, 2015 · 1 comment
Closed

M13ProgressViewRing setProgress: animated: does not work #73

WuKongCoo1 opened this issue Jul 21, 2015 · 1 comment

Comments

@WuKongCoo1
Copy link

First of all, I'm sorry, my English is very bad. When I created the download task, using this method does not work. Only when the download is complete, the UI will change. Thank you

@av0c0der
Copy link

@WuKongCoo1 You must update the progress in main queue, like this:

dispatch_async(dispatch_get_main_queue(), {
self.navigationController?.setProgress(myProgress, animated: true)
}

@Marxon13 Marxon13 closed this as completed Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants