• 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
Simulating NSURLSession background download tasks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simulating NSURLSession background download tasks


  • Subject: Simulating NSURLSession background download tasks
  • From: Rick Mann <email@hidden>
  • Date: Fri, 21 Aug 2015 17:08:39 -0700

I'm trying to exercise my background download task code, and wondering if there's a way to kill my app in the simulator, or "reboot" the simulator, and then re-launch it, and have the system launch my app in the background to indicate completions, or launch my app again and have it get updated.

But it doesn't seem to be calling the background task notification mechanisms.

Does stopping my application via Xcode treat it as killed by the user, thereby canceling all pending tasks, or does it treat it as crashed?

Is it possible to exercise these aspects in the sim?

--
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: Simulating NSURLSession background download tasks
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: Restoring context with NSURLSession background tasks
  • Next by Date: Re: Restoring context with NSURLSession background tasks
  • Previous by thread: Re: Restoring context with NSURLSession background tasks
  • Next by thread: Re: Simulating NSURLSession background download tasks
  • Index(es):
    • Date
    • Thread