Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Getting actual content size of UIWebView?

boneheadbonehead Posts: 225Registered Users
edited March 2011 in iPhone SDK Development
I have an embedded UIWebView in my app whose content size can vary a great deal. Before loading content into the view, I set the frame to some reasonable size; however, after the content is loaded, there can be a big gap between the web view and the view that comes after.

Is there some way to automatically resize the web view based on its content? I tried using UIView sizeToFit, but apparently UIWebView just uses the default (no-op) implementation.
Post edited by bonehead on

Replies

Sign In or Register to comment.