Kingfisher4 migrate to Kingfisher5 can't load local gif

Created on 25 Mar 2019  路  2Comments  路  Source: onevcat/Kingfisher

I use Kingfisher4 it worked, but when I migrate to Kingfisher5 it doesn't work.

Logs:

Path URL:Optional(file:///var/containers/Bundle/Application/90C361C7-653A-4934-9085-F8DD979CF024/*.app/loading.gif)

responseError(
reason: Kingfisher.KingfisherError.ResponseErrorReason.invalidURLResponse(response: { URL: file:///var/containers/Bundle/Application/90C361C7-653A-4934-9085-F8DD979CF024/*.app/loading.gif })
)

Most helpful comment

Loading a local file now requires an ImageDataProvider. See this wiki for more.

All 2 comments

Loading a local file now requires an ImageDataProvider. See this wiki for more.

Thank you, I solve it.馃槅

Was this page helpful?
0 / 5 - 0 ratings