• 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
Re: 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]

Re: Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)


  • Subject: Re: Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?)
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Mon, 20 Oct 2014 10:42:31 +0100

On 20 Oct 2014, at 10:02, Rick Mann <email@hidden> wrote:

> 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?

The session isn't really relevant here; creating a session has no impact on networking per se.  What matters is the tasks within that session.  And yes, you can start an upload task in a background session while the device is offline and it will then start transferring when the device comes back online.  This should be possible on iOS 7 but, for best results, you want to use iOS 8.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
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


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>)
 >Offline initiation of NSURLSession (was: What's the best way to run an NSURLProtocol session?) (From: Rick Mann <email@hidden>)

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