You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ProgressBlock only displays progress 1.0 after the upload is complete
var task:Task{
switch self{...
case .uploadVideo(_, let url):letvideoMultipart=MultipartFormData(provider:.file(url), name:"file")return.uploadMultipart([videoMultipart])...
As I understand it, the delegate function should be called in alamofire to calculate the current progress:
I have set breakpoints in all places of the declaration of this function and it is not called.
With all that, the upload works well, and the file uploads successfully to the server, but I can't track the progress. Tried with files of different sizes, the result is the same: progressBlock is called once after loading with 1.0 progress.
Code request:
ProgressBlock only displays progress 1.0 after the upload is complete
As I understand it, the delegate function should be called in alamofire to calculate the current progress:
I have set breakpoints in all places of the declaration of this function and it is not called.
With all that, the upload works well, and the file uploads successfully to the server, but I can't track the progress. Tried with files of different sizes, the result is the same: progressBlock is called once after loading with 1.0 progress.
Code request:
output: progress = 1.0
The text was updated successfully, but these errors were encountered: