iOS7 drastically changed thanks to the Background Fetch API, which is part of the new multitasking features that the latest version of iOS supports. When the Background Fetch feature is enabled to an app, the system wakes the app up in the background from time to time and lets it go online to fetch new data with goal to refresh its content.
Enabling and using the Background Fetch API in an application, is a really easy, three-step process that contains the following:
- To enable it in the Multitasking Capabilities of the app.
- To set the time interval in which the system should fetch new data in theapplication:didFinishLaunchingWithOptions: delegate method.
- To implement a new delegate method in the AppDelegate class that will handle the result of the fetching process.
Source:
http://www.yourdeveloper.net/item/program-a-uitableview-with-pulldown-to-refresh/
http://www.gowhich.com/blog/528
http://www.appcoda.com/ios7-background-fetch-programming/
No comments:
Post a Comment