Demo project showing how to use a private NSExtension API to create your own background process on iOS.
Read all about how NSExtension works here.
Note: In order to do this, you must use a private API in the iOS SDK. This API may change in the future. It is not suggested that you ship an app in the App Store that uses a private API.