Save image in asset catalog on runtime

后端 未结 1 588
礼貌的吻别
礼貌的吻别 2021-01-18 17:42

I have to download new images from backend in background process and i need to save them for use later in the app.

In the other way, the original app images are in t

相关标签:
1条回答
  • 2021-01-18 18:08

    Asset catalog is a resource file/folder, that means this is placed inside your bundle.

    All files inside your bundle means it is not writable. The files inside bundle has only read permissions.

    You have to store in any one of the sandboxed folders (Documents, Library and temp)

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