I want to use webp image in UIImageView my ios project which is in Swift Language.
I tried using Matt Thompson library but it's not working with Swift project. I have imported the framework and did all required tasks but so many link errors.
How can I use webp Image in UIImageView in swift code?
You can use the Pod https://github.com/rs/SDWebImage
There is it really easy to load WebP Images from the Web
With Swift:
SDWebImageManager.shared().loadImage(with: url, options: .highPriority, progress: nil, completed: {(resultSet) in
YOURWEBVIEW.image = resultSet.0
})