html - How to make fit size only for Image in UIWebView? -


i loaded html uiwebview including both text , images.

text fit uiwebview , images not fit uiwebview.

it's large in uiwebview.

it's showing scroll bar @ end of uiwebview.

i want adjust image fit size in uwebview. tested following codes.

self.mywebview.scalespagetofit = yes; 

however it's fixed including text , text small read , images fixed.

i want set text , want fit size image in uiweview.

how can it?

use viewport meta tag used uiwebview on iphone/ipad determine how display web page.

 <meta name="viewport" content="width=device-width, maximum-scale=1.0" /> 

refer below link more details:

https://developer.apple.com/library/ios/documentation/appleapplications/reference/safariwebcontent/usingtheviewport/usingtheviewport.html


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -