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
Post a Comment