Background fetching using NSURLSession

Most mobile apps aren’t open very often and tend to stay in the foreground for short time. If the app frequently updates its content from remote sources or if it occasionally performs large data transfers (like downloading audio or video files), since iOS 7 it’s possible to run this kind of tasks while the app Continue reading…

 

Introduction to NSURLSession

As part of the connected world, many apps consume content from online sources or transfer the data they produce to external repositories on the Internet. Available since iOS2, NSURLConnection and its related classes handle URL requests and manage the data transfer using the standard Internet protocols. They encapsulate the complexity of data communication is an Continue reading…