Questions tagged [urlsessiontask]

5 questions
10
votes
0 answers

TIC TCP Conn Failed

Something have changes in the server I was using to fetch an .mjpeg video feed. Now I'm getting this error: TIC TCP Conn Failed [5:0x1d4361380]: 3:-9802 Err(-9802) TIC TCP Conn Failed [6:0x1c0177a00]: 3:-9800 Err(-9800) TIC TCP Conn Failed…
Stornu2
  • 2,194
  • 3
  • 22
  • 43
1
vote
1 answer

Swift3 video file upload along with one more form parameter(can be skipped from form and sent as url path)

I have searched for a long time but didn't find any good resource on how to do this. The api expects one form parameter "user_id"(for now sending its as urlpath not form parameter) and other "file" for the video file. please provide some code…
1
vote
2 answers

Store URLSessionDownloadTask in Core Data

I want to save URLSessionDownloadTask in core data when app is gone in closed state or my download state is changed e.g from waiting state to downloading state or to completed state. All other attributes of my custom class are stored perfectly but…
0
votes
1 answer

How to prevent a crash when the uiviewcontroller is deinited and there is an active urlsessiontask

I have a crash in my Swift 3 iOS app when I have an active URLSessionTask and the user presses the back button and the view controller is deinited. I call the cancel method on the urlsessiontask in the back button and no crash occurs at that time…
0
votes
2 answers

Multiple Image Upload Progression problems

I'm trying to upload Several separate images, as long as I upload them 1 at the time it works. But once I try to upload the next image or more than one image the problems starts. every image I upload in a series will update all images with the…
Helbo
  • 422
  • 6
  • 30