Running an iOS application in the background from another application

I do not know many iOS APIs and its internal components.

However, I want to run application A in the background (do not run application A in the foreground) from another application B and perform some tasks, such as loading content.

I would like to communicate between applications using URL schemes.

On Android, you can start the Android service in the background using implicit / explicit intentions (URL schemes). I am looking for similar APIs / components in iOS.

If not all application execution or any user logic. Can I just do an NSURLSession from URL schemes that are used as a job to migrate background content to iOS?

Regards, Saurav

+4
source share
1 answer

No and yes

No, you cannot launch another application from your application in the background, but you can open it in the foreground

Yes

If you developed application A and B, you can trigger a push notification from application A to B. B, when received, it can execute your download code in the background

+1
source

Source: https://habr.com/ru/post/1680607/


All Articles