Vinay Bagale
Vinay Bagale

Reputation: 2461

How to display webp image format in native UIWebView?

Received html string with webp images sourced within it. Need to display these webp images within iOS native uiwebview.

Any suggestion please...

Upvotes: 1

Views: 714

Answers (1)

Vinay Bagale
Vinay Bagale

Reputation: 2461

Step to support webp image in uiwebview as :

1) Get webp image url. 2) Use thirdParty library such as SDImageView to download image. 3) Using Base64 library, we can embed same data with <img src> tag.

Upvotes: 1

Related Questions