开发者

iOS apps sharing assets

开发者 https://www.devze.com 2023-02-03 22:15 出处:网络
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?

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?

Thanks in开发者_如何学C advance


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).


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

精彩评论

暂无评论...
验证码 换一张
取 消