• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >What's the best way to run an NSURLProtocol session? (From: Daryle Walker <email@hidden>)
 >Re: What's the best way to run an NSURLProtocol session? (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: What's the best way to run an NSURLProtocol session? (From: Rick Mann <email@hidden>)
 >Re: What's the best way to run an NSURLProtocol session? (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: What's the best way to run an NSURLProtocol session?
  • Next by Date: Re: Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)
  • Previous by thread: Re: What's the best way to run an NSURLProtocol session?
  • Next by thread: Re: Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)
  • Index(es):
    • Date
    • Thread