The URLSession's upload task doesn't work in the background session

后端 未结 0 1405
被撕碎了的回忆
被撕碎了的回忆 2020-12-11 06:22

I am trying to upload an image/video to the server. If I do it with the code below:

let task = URLSession.shared.uploadTask(with: request, fromFile: fileURL)
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题