1

I'm performing an upload task in the background with NSURLSession. I keep seeing this message in the output: "Background URL session needs events handled" Where should I be handling the event for this? In the app delegate, in the class with my networking code? What exactly do I need to do?

Andrew Paul Simmons
  • 4,334
  • 3
  • 31
  • 39
  • 1
    Did you implement `handleEventsForBackgroundURLSession` in your app delegate? Did you save the `completionHandler`? Do you call it in in `URLSessionDidFinishEventsForBackgroundURLSession` (or some point soon thereafter)? – Rob Mar 23 '15 at 01:02

0 Answers0