How to exchange files between 2 local ios applications without url scheme or external server?

I have 2 local applications "A" and "B". I want application "A" to call application "B" and "B", send a response to "A" with the file.

The URL scheme is a good solution for calling application “B”, but it is a bad solution for sending files to “A”.

How to send a file from one application to another without a URL scheme and without an external server?

+6
source share
2 answers

Besides the URL parameter, you have a better use case for iOS keychain . See Article.

There are several other options here.

Another option is to use the iCloud API.

Another, copy the folder data between applications using UIPasteboard .

By the way, what is the problem with resolving the URL? Apple suggests you use a URL to exchange data between different applications.

+9
source

I used a combination of custom URL schemes and a UIP card. I recently posted a complete tutorial at http://enharmonichq.com/sharing-data-locally-between-ios-apps/ .

+3
source

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


All Articles