Best way to store images in iOS

前端 未结 2 1933
太阳男子
太阳男子 2021-01-04 17:23

I was wondering if anyone could suggest the best way for me to store images for my app.

I want to be able to provide an XML update functionality that will allow the

2条回答
  •  渐次进展
    2021-01-04 17:52

    You can write to the filesystem, every app in iOS is sandboxed and has access to his own documents folder.

    I would suggest to write on filesystem and only save the urls on the database as that is more performant than saving blobs on a database.

    Apple has a good write up about the iOS filesystem.

提交回复
热议问题