Is it possible for my iOS app to keep running code when a user kill my app?

Is it possible for my iOS app to keep running code when a user kill my app? Now with latest iOS version (9.x), can we achieve this?

My app needs to send GPS locations to the server even a user kill this app.

Now my app keeps running in Background Mode. But not running after my app is killed.

Upvotes: 0

Views: 804

Answers (1)

Michael Dautermann
Michael Dautermann

Reputation: 89509

No. If you could figure out how to keep things going after the user force quits/terminates your app, that app continuing to run after they are killed would certainly be considered a security risk (and performance hit) by Apple and wouldn't be allowed on the app store.

You might be thinking of Background App Refresh, but even if apps that utilize BAR are killed, they don't refresh either.

Upvotes: 1

Related Questions