Re: iPhone UIWebView height?
Re: iPhone UIWebView height?
- Subject: Re: iPhone UIWebView height?
- From: glenn andreas <email@hidden>
- Date: Sun, 15 Mar 2009 10:02:06 -0500
On Sunday, March 15, 2009, at 12:30AM, "Jesse Armand" <email@hidden> wrote:
>This is also what I'm looking for.
>
>I want to create a UIWebView with a frame size that will adjust itself
>according to the contents of the HTML string, or even more simpler an
>image.
>
>Anybody have any experiences with this ?
>
View don't, in general, automatically change their frame size - what exactly are you hoping to accomplish?
That being said, it's fairly straightforward to set the UIWebViews delegate, and in webViewDidFinishLoad query the size using JavaScript and set the frame accordingly.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden