ios - Why does this not change the size of the webview -


this question has answer here:

this stackoverflow answer resolved doesnt seam work me , have no idea why.

height of uiwebview minus 44px programmatically?

 cgrect oldframe = webview.frame;     cgrect newframe =cgrectmake(oldframe.origin.x, oldframe.origin.y, oldframe.size.width, oldframe.size.height-44);     [webview setframe:newframe]; 

once try after doing 1 once reload webview ,

    self.webview.frame = cgrectmake(self.webview.frame.origin.x, self.webview.frame.origin.y, self.webview.frame.size.width, 0);   [self.webview reload]; 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -