• 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
-getTasksWithCompletionHandler: synchronization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-getTasksWithCompletionHandler: synchronization


  • Subject: -getTasksWithCompletionHandler: synchronization
  • From: Rick Mann <email@hidden>
  • Date: Mon, 23 Feb 2015 15:38:09 -0800

If I understand background network activity correctly, one of the things I need to do when my app launches is call -getTasksWithCompletionHandler: and synchronize my app state with background uploads in progress.

Can I rely on not getting any other background task notifications while my block is executing? Say I make that call, and I'm in the process of synching my app's in-memory state (generally the overall progress of uploads that are broken up into several background uploads), and a background upload finishes. Will my delegates get called while I'm in the middle of syncing my state in -getTasksWithCompletionHandler:? Or will all those delegate call backs queue up until I return?

Thanks,

--
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: -getTasksWithCompletionHandler: synchronization
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: HTTP/2 support in OS X?
  • Next by Date: Reachability determination?
  • Previous by thread: Re: HTTP/2 support in OS X?
  • Next by thread: Re: -getTasksWithCompletionHandler: synchronization
  • Index(es):
    • Date
    • Thread