Reputation: 38162
Has anyone tried using UIBackgroundModes
to register for any networking stuff? I want to keep running my server fetching code and playing some sound based on the server response even when my application is in the background or the device is sleeping.
Any clue on this and what would be the impact of using this?
Upvotes: 1
Views: 4142
Reputation: 126137
If you use UIBackgroundModes
to declare your app is for VoIP and register a periodic keepalive handler, you can do pretty much whatever you want in the background. But you won't make it onto the App Store with that unless you're really a VoIP app. See the documentation for what kind of things are allowed in the background and what aren't.
Upvotes: 1