Reputation: 2210
I have googled an serached a lot here about background runnin aps but have no idea. My app sends to my server synchronous(mean, scheduled) GETs and receives a response. The response is a dictionary of arrays. I want my app to run all the time and send that GET, but Apple restrics this for just Audi, GPS-location, Vo-IP.. Some of the comments say "use an empty CGLocationManager loop or play an empty voice" but i have no idea how to do. Can anyone please help?
EDIT: The app will run on just my own devices, so it isn't problem if Apple doesn't let me sell it
Upvotes: 2
Views: 692
Reputation: 150615
You could register for Audio services background mode and play a silent music track on repeat. That will keep your app alive in the background.
Upvotes: 2