How to share files between 2 local ios apps without url scheme or external server?
Asked Answered
C

2

6

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

Url scheme is a good solution to call Application "B" but it's a bad solution to send files to "A".

How do I send a file from one application to another without url scheme and without external server ?

Cruse answered 24/9, 2012 at 8:39 Comment(1)
I don't think it's allowed: #9426206Crocodilian
L
9

Other than URL option, you have an best option to use iOS keychain. See this article.

There are couple of other options mentioned here.

Another option is to use iCloud APIs.

One more, copy-paste data between Apps using UIPasteboard.

BTW what's the problem with URL solution? Apple suggest you to use URL to share data between different Apps.

Lasagne answered 24/9, 2012 at 8:54 Comment(3)
Keychain is a good idea but application "A" is make by other people, so I can't give access to keychainCruse
Edited my answer. Use iCloud otherwise you are out of options!! Apple suggest you to use URL solution!Lasagne
Found one more option to use copy-paste data between the apps. May be useful for you :)Lasagne
T
3

I've used a combination of custom URL schemes and a UIPasteboard. I recently posted a full tutorial at http://enharmonichq.com/sharing-data-locally-between-ios-apps/.

Torquay answered 10/5, 2013 at 20:12 Comment(1)
Hey Dilan, your website seems to be down. If you are no longer maintaining the site, do you by and chance have the content available that you could PM me?Steer

© 2022 - 2024 — McMap. All rights reserved.