简体   繁体   中英

share data between 2 application in iPhone

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

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM