Alamofire POST request with progress

前端 未结 3 898
臣服心动
臣服心动 2021-01-02 19:06

I\'m using Alamofire to do a POST request. As this POST request can take a while and I want to keep track of the progress and display it as a ProgressView.

A         


        
3条回答
  •  醉话见心
    2021-01-02 19:17

    There's a separate method in Alamofire to upload. Please check their documentation here.

    They have sub-sections

    1. Uploading with Progress
    2. Uploading MultipartFormData

    Which describes uploading.

提交回复
热议问题