Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)
Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)
- Subject: Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)
- From: Rick Mann <email@hidden>
- Date: Mon, 20 Oct 2014 02:02:32 -0700
> On Oct 20, 2014, at 01:54 , Quinn The Eskimo! <email@hidden> wrote:
>
>
> On 17 Oct 2014, at 19:23, Rick Mann <email@hidden> wrote:
>
>> We have an app that is used primarily offline, and generates a couple hundred megabytes of data (it's a 3D scanning app).
>
> Are you working on the same product as Daryle, or just coincidentally interested in this stuff?
Coincidental.
>> I'd love to move to NSURLSession to automate this, so the user doesn't have to take any action once they're back online. Is this possible?
>
> Do you mean NSURLSession or NSURLProtocol here? So far this thread has been about NSURLProtocol, which doesn't seem like a good match for your requirements. OTOH, an NSURLSession background session is probably a very good match.
NSURLSession. I read "NSURLProtocol session" and thought it was the same thing. My bad.
So, if I start (can I even start) an NSURLSession when the device has no Internet access, will that session automatically start up when it does, without the app being launched (made active) again?
--
Rick Mann
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden