NSURLSession provides the ability to run something under background with URLSessionDidFinishEventsForBackgroundURLSession and here is the simple intro
For networking layer, most iOS dev get used to build on AFNetworking or Alamofire, which is the most pop wrapper based on iOS URL loading framework.
Just wonder how is the background task running deeply, like sort of questions
- how to switch this ability on and off?
- how long it will run?
- any limits such as memory , time, security permission etc
- what is the common case which need background running capability?