Questions tagged [urlsessiontaskdelegate]

2 questions
0
votes
1 answer

Live Activities and Upload in Background iOS

I'm developing a new feature that allows the user to keep track of a background upload through live activities. Im using the URLSessionTaskDelegate to keep track of the task progress and it works fine when the app is in foreground, but when the app…
0
votes
1 answer

Is the Delegate method for uploadTask supposed to fire when using a custom URLProtocol?

I'm using a custom URLProtocol for mocking server communication in unit tests: override func startLoading() { let response: Result if self.request.url == failureTransferURL { response =…
horseshoe7
  • 2,745
  • 2
  • 35
  • 49