iOS apps sharing assets

后端 未结 2 1726
孤独总比滥情好
孤独总比滥情好 2021-01-24 20:42

Hey All, I have an upcoming project that will require the same assets (images, video, audio) be used across multiple applications. Is is possible on iOS to share assets this way

相关标签:
2条回答
  • 2021-01-24 21:26

    In general there are so many ways to share datas and strings between apps those are as follows.

    • UIDocumentInteractionController

    • UIActivityViewController

    • Shared Keychain Access

    • Custom URL Scheme

    • Web Service

    • iCloud API

    Each feature has its own pros and cons

    Go through this link to know more.

    0 讨论(0)
  • 2021-01-24 21:41

    I'm afraid not - each application lives in its own sandbox. It's part of the underlying iOS security system that apps can't share resources or assets. You'll have to bundle all your assets required into each individual app (unless you are prepared to host your assets in a single place online and have the app download them).

    0 讨论(0)
提交回复
热议问题