So with iOS 7 supporting a broader background mode, is it possible to finally have an equivalent to Android Service on iOS?
What I am after is essentially running ap
I found the best and standard solution:
(original post by Matthijs Hollemans, update by Ali Hafizji).
In iOS, apps can’t do a lot in the background. Apps are only allowed to do limited set of activities so battery life is conserved. But what if something interesting happens and you wish to let the user know about this, even if they’re not currently using your app? For example, maybe the user received a new tweet, their favorite team won the game, or their dinner is ready. Since the app isn’t currently running, it cannot check for these events. Luckily, Apple has provided a solution to this. Instead of your app continuously checking for events or doing work in the background, you can write a server-side component to do this instead. And when an event of interest occurs, the server-side component can send the app a push notification! There are three things a push notification can do:
Tutorial link: http://maniacdev.com/2011/05/tutorial-ios-push-notification-services-for-beginners