• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone UIWebView height?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iPhone UIWebView height? (From: William Jon Shipley <email@hidden>)
 >Re: iPhone UIWebView height? (From: Jesse Armand <email@hidden>)

  • Prev by Date: Re: How to create an NSDecimal?
  • Next by Date: Re: GUI Calls in Tool Executable seem to be No-Op. Nice, but safe?
  • Previous by thread: Re: iPhone UIWebView height?
  • Next by thread: Custom NSManagedObject Class Initializer
  • Index(es):
    • Date
    • Thread