If a background transfer gets cancelled and URLSession:didBecomeInvalidWithError: is invoked, should we call the completion handler stored by application:handleEventsForBackgroundURLSession:completionHandler:?
URLSession:didBecomeInvalidWithError: - should completion handler be called?
855 views Asked by Andreas Aarsland At
1
If your app is in background and
application:handleEventsForBackgroundURLSession:completionHandler:was called, the completionHandler should also be called, otherwise the system will kill your app