Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7996941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:50:16+00:00 2026-06-04T14:50:16+00:00

Is it possible for two applications to access documents in each other applications given

  • 0

Is it possible for two applications to access documents in each other applications given that they have the same bundle seed id. I know that it is possible to share items in the keychain with applications that share a bundle seed id (see here).

For example, let’s say you had an application that had a free version and a paid version. Is it possible that after someone has upgraded from the free to the paid version you could migrate their data over to the paid version?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:50:17+00:00Added an answer on June 4, 2026 at 2:50 pm

    You cannot share document directories between applications. But there are other communication channels open.

    The keychain is one possibility, as you mentioned.

    Another could be custom URL schemes. Maybe a bit like this:

    1. The free app registers the ability to open URLs with the freeapp:// scheme. Similarly the pro app registers the ability to open URLs with the proapp:// scheme. Use the “URL Types” entry in the info plist.
    2. Pro app checks if [UIApplication canOpenURL:@"freeapp://goPro"] == YES
    3. If true the pro app calls [UIApplication openURL:@"freeapp://goPro"]
    4. This launches the free app which must implement handleOpenURL from UIApplication.
    5. The free app packages the necessary data together in a URL. You can use HTTP-like parameters if you like. You can also build a dictionary and serialize it to a long hex-string using NSCoding.
    6. The free app passes the data back to the pro app using [UIApplication openURL:@"proapp://YOUR_DATA_IN_WHATEVER_FORMAT"]
    7. The pro app receives the URL in its overridden implementation of handleOpenURL from UIApplication and performs the necessary data migration.

    Obviously you want to use more unique URL schemes than the above.

    Consider the security implications of being able to inject this type of data into your app using URLs, though. It’s probably OK for many purposes, but I’m sure that if the Facebook app provided a way to nuke your account settings via a URL some people would find it hilarious to post facebookapp://reset_my_account links everywhere.

    Bonus tip: URL schemes are also very handy for bridging the gap between native code and web views. I have had a few apps with an embedded web view showing a page on a server under my control. The web page can talk to the app by setting the document location from JS. The app can intercept the request in the web view delegate and talk back to the web view using stringByEvaluatingJavaScriptFromString.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two different C# applications that are running at the same time. I
Is it possible for two instances of Object to have the same hashCode() ?
Is it possible have two projects with the same name in flex builder? Here
I have two applications in CakePHP, App A an App B. I want that
From http://developer.android.com/guide/topics/fundamentals.html : It's possible to arrange for two applications to share the same
I've two android applications on same LAN provided by WIFI : App (A) that
Possible Duplicate: Two css files defining same class The answers to this question and
I have two possible widths for a string i want to display in a
my question is about two possible ways to access data: (My question is about
I am having trouble deciding between two possible design choices. I have a web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.