How to cache images only in disk using Kingfisher?

后端 未结 3 1378
梦毁少年i
梦毁少年i 2021-02-20 17:00

I am using Kingfisher library for downloading and caching images. I am facing some issues in the implementation:

  1. Are the images ca

3条回答
  •  情书的邮戳
    2021-02-20 17:45

    Swift 5.3, Xcode 12

    https://stackoverflow.com/a/44354411/10579134 , the latest version of the following

    ImageCache.default.memoryStorage.config.totalCostLimit = 1 //1 in bytes
    

提交回复
热议问题