nsurlsessiondownloadtask Questions

5

Solved

I am using NSURLSessionDownloadTask with background sessions to achieve all my REST requests. This way I can use the same code without have to think about my application being in background or in f...

3

Solved

I have an app that's using background downloads with the new NSURLSession APIs. When a download cancels or fails in such a way that NSURLSessionDownloadTaskResumeData is provided, I store the data ...
Ina asked 20/2, 2014 at 0:46

1

Due to the customer can't implement just few downloads in his server in a short time and backgroundDownloadTaks were very inconsistent when there are so much files (500-1000 downloads) I decide to ...
Wastage asked 4/12, 2014 at 17:36

1

I have implement NSURLSessionDownloadTask for downloading multiple video at a same time. In a normal scenario every thing is working fine. Also background fetch is also working. But when i close th...
Posterity asked 7/8, 2015 at 14:9

3

I am using NSURLSessionDownloadTask objects on an NSURLSession to allow users to download documents while the app is in the background / device locked. I also want to inform the user that individua...

3

I have a NSURLSession and a NSURLSessionDownloadTask configured for downloading a file in background, if the download task in canceled by the user all the data is deleted and the storage space the ...
Vitelline asked 28/7, 2015 at 16:49

1

In a iOS 8.1 app I am using NSURLSessionDownloadTask to download an archive in the background which can sometimes get quite large. Everything works fine, but what will happen if the phone runs ou...
Cerebrum asked 7/1, 2015 at 8:56

1

Solved

So I'm having hard time understanding something. This are the things I understand about NSURSession : Generally , I have 2 options for (as far as I know) DataTask(e.x dataTaskWithRequest) And Dow...
Valerle asked 6/4, 2015 at 16:11

2

Solved

I have tried various samples from the web (the last one being this one) in order to get a better understanding of NSUrlSession. What I was hoping to see: file downloads will continue even if the a...
Ailssa asked 30/7, 2014 at 21:37

2

Solved

Here is the question: how to download a number of files one by one using the new Background Transfer Service (including the case when the app is suspended)? I read this awesome tutorial on objc.io ...
Ellita asked 3/4, 2014 at 15:57

2

I have NSURLSession that is downloading multiple files. I'm updating an ios 7 application for ios 8. It works fine in ios 7, but when complied against ios 8 The delegate meathod URLSessionDidFini...
Rotterdam asked 16/9, 2014 at 15:25

1

Solved

I have an app in which I have to download a large number of files, from 400 to 900 files that are about 1GB total. Which is the best approach to accomplish this? One NSURLSession and all task en...
Balliett asked 21/11, 2014 at 13:14

1

If I create a NSURLSessionDownloadTask, and later cancel it before it finishes, the completion block still fires seemingly. let downloadTask = session.downloadTaskWithURL(URL, completionHandler: ...

1

Solved

When I force my device to go in sleep mode by pressing the power button, my background task stops by calling the delegate method didCompleteWithError with the error : The operation couldn’t be ...
Bawcock asked 11/9, 2014 at 12:46

1

Solved

I am trying to replace NSURLConnection with NSURLSession, but I found that with NSURLSession I couldn't read the intermediate data chunks like I did in NSURLConnection with the delegate method. -...
Forkey asked 23/8, 2014 at 12:52

1

Solved

Download image from secure URL, behind a security wall. A URL like https://foo.com/bar.png Sometimes I'm getting a SSLHandshake error. Sometimes the error happens once, but sometimes the error is ...
Heterotaxis asked 6/1, 2014 at 16:30

3

Solved

I am using iOS 7 and I have a .mp4 video that I need to download in my app. The video is large (~ 1 GB) which is why it is not included as part of the app. I want the user to be able to start watch...

© 2022 - 2024 — McMap. All rights reserved.