saurav
saurav

Reputation: 5946

Launching iOS application in background from another application

I am not aware much of APIs of iOS and its internals.

However, i want to run an application A in the background (not to launch application A in foreground) from another application B and do some tasks like downloading of content.

I would like to communicate between the apps using URL schemes.

In Android, it is possible to trigger an Android service in the background using implicit/explicit intents (URL schemes). I am looking for similar kind of APIs/components in iOS.

If not the whole application execution or any custom logic. Can I just execute NSURLSession from URL schemes which are used as a background content transfer job in iOS?

Best Regards, Saurav

Upvotes: 4

Views: 129

Answers (1)

Tony Thomas
Tony Thomas

Reputation: 1005

No and Yes

No, You cannot run another app from your app in background, but you can open it into foreground

Yes

If app A and B is developed by you, you can trigger a push notification from App A to B. B on receiving can execute your download code in background

Upvotes: 1

Related Questions