R
R
redcircle2018-05-21 14:28:18
iOS
redcircle, 2018-05-21 14:28:18

How to make an analogue of Android Service in iOS?

It is necessary that a “service” with common functionality for other applications be launched in a separate application, and other applications can make calls to it using a specific API.
In Android, this is done simply, through the Service in this application with an API in the form of Binder.
On iOS, the only thing that comes to my mind is registering your URL scheme so that other applications can call this service using UIApplication.shared.openURL.
Is there a more convenient (and faster in terms of performance) way to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Marunko, 2018-05-22
@Antonio-banderas

It depends on what this service is needed for, but in general, the scheme URL is the only thing that comes to mind.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question