Answer the question
In order to leave comments, you need to log in
How can I keep an iOS app in the background so that it doesn't pause?
Good afternoon!
I am developing a taxi application, where at one stage it is required to keep the socket.io connection and prevent iOS from killing or suspending the application.
Actually what I tried:
- background fetch, the minus of this is that the application is still killed after 5-10 minutes of its background'a
- location updates + setAllowBackgroundUpdates:YES - works as it should, but very cruelly eats up the battery.
Advise options, perhaps someone faced a similar problem.
I'll try VOIP now, but maybe I'll get Reject from Apple.
Answer the question
In order to leave comments, you need to log in
- location updates + setAllowBackgroundUpdates:YES - works as it should, but eats up battery very badly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question