ios - Resize webview iphone 5 -


i'm seeking method resize webview according current iphone.

i tried change frame of webview, check autolayout etc. it's not running, tried other solutions, , didn't succeed resize webview.

i tried example nothing change :

    _contenunews.frame = self.view.frame; 

i don't want use

    scale page fit. 

i want webview take screen.

someone me ? thx

if webview added via ib , if using autolayout can not resize frame. need uncheck autolayout option ib.

enter image description here

after try resize frame of webview.

though didn't want use scale fit use scale fit. may other adding answer:

self.webview.scalespagetofit =yes; 

the above code make sure content of uiwebview loaded inside view frame.

hope helps.. :)


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? -