3

I want to share userid and password to other application and vice versa in iPhone.

Scenario: I have 2 application in my iPhone,Master application and Child application.I am done with login with master application and its successfully done.Now if I open with child application then automatically user can login with master application and same as vice versa.

It means ,I want to share data between 2 application in iPhone.

is it possible in iPhone? Does anyone has done similar or anyone has any suggestion please suggest.

Thanks

Jaydeep Vyas
  • 4,411
  • 1
  • 18
  • 44

2 Answers2

0

You can use the following ways to share data between two applications.

  1. UIDocumentationInteractionController
  2. iCloud API
  3. Shared KeyChain Access
  4. UIActivityController
  5. Web Services
  6. Custom URL Scheme
  7. App Groups

You can use the following link to share applications in two iPhone applications :-

http://www.theappguruz.com/blog/ios8-app-groups

http://evgenii.com/blog/sharing-keychain-in-ios/

Abhishek Jain
  • 826
  • 8
  • 20
Swati Gautam
  • 191
  • 9
  • 4
    Nothing in your list has anything to do with any specific version of Xcode. Most are features of iOS that have been around for years. – rmaddy Feb 07 '18 at 06:17
0

Apparently, you need to go from following links & need to play with Shared KeyChain Access & Custom URL Scheme.

Share data between two or more iPhone applications

http://agostini.tech/2017/08/13/sharing-data-between-applications-and-extensions-using-app-groups/

http://www.enharmonichq.com/sharing-data-locally-between-ios-apps/

Mukesh Lokare
  • 2,159
  • 26
  • 38