Open avinashsomashekar opened 6 years ago
I was just looking into this. Check the sample code since it does this. Basically your implementation of PhotoMessageViewModel can set:
self.transferProgress.value = percentComplete
Which seems to work for me. I'm using Alamo Fire, so I do:
}.downloadProgress() { progress in
self.transferProgress.value = progress.fractionCompleted
}
you can check this gist to see how to create your view model and download an image with progress indicator.
Hi, It seems this sdk supports only start and completed/failed state for download/upload progress indicator . Can anyone help me how to show users percentage of download/upload indicator while download/uploading is progress?
Thanks