• 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: Sizing text to fit into UITextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sizing text to fit into UITextView


  • Subject: Re: Sizing text to fit into UITextView
  • From: "Jason Foreman" <email@hidden>
  • Date: Mon, 29 Dec 2008 14:09:24 -0600

On Mon, Dec 29, 2008 at 1:57 PM, Steve Wetzel <email@hidden> wrote:
> Is there any easy way to change the size of the font so a string will fit
> into UITextView?

You'll probably want to look at the stuff in the NSString UIKit
additions.  I believe the category is UIDrawing.  There you'll find
various methods to determine the best font size for drawing a string
in a given rect or with a particular width, etc.


Jason
_______________________________________________

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: 
 >Sizing text to fit into UITextView (From: Steve Wetzel <email@hidden>)

  • Prev by Date: Re: Pull Down Toolbar Item
  • Next by Date: Re: Pull Down Toolbar Item
  • Previous by thread: Sizing text to fit into UITextView
  • Next by thread: newbie question, core data app startup
  • Index(es):
    • Date
    • Thread