onevcat / Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't see this image url

Maiiosdeveloper opened this issue · comments

let url = URL(string: "https://msha3lil.rocket.chat/avatar/mai30.png")
userImageView.kf.setImage(with: url, placeholder: UIImage(named: "avatar"))

Although the URL contains a png as its extension in file name, the actual content is a svg, which is not yet directly supported by Kingfisher.

Maybe search "svg" in the issues to find a possible solution.