• 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: UITableView woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITableView woes


  • Subject: Re: UITableView woes
  • From: Hunter Hillegas <email@hidden>
  • Date: Mon, 02 Jul 2012 16:06:15 -0700

Or alternatively, setting the numberOfLines property on the text label to 0 and then calculating the height for each row for the string you'll be passing in.

On Jul 2, 2012, at 3:22 PM, Laurent Daudelin <email@hidden> wrote:

> Are you using the standard UITableViewCell or custom cells? I'm assuming they are cut off because the standard cells use a UILabel which displays only one line of text, shrinking it until it reaches the minimum size where, at that point, it just cuts off the rest of the sentence. You will need to use a UITextView most likely in your own subclass of UITableViewCell.
>
> -Laurent.

> On Jul 2, 2012, at 13:49, C.W. Betts wrote:
>
>> I'm trying to write an iOS app that displays sentences in a table, but UITableView cuts them off. Will I need to do a custom UITableViewCell or can I make UITableView behave? I want to either display them on two rows or have a scroll bar to see the rest of the sentence.


_______________________________________________

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: 
 >UITableView woes (From: "C.W. Betts" <email@hidden>)
 >Re: UITableView woes (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: NSInteger vs int vs int32_t
  • Next by Date: Re: UITableView woes
  • Previous by thread: Re: UITableView woes
  • Next by thread: Re: UITableView woes
  • Index(es):
    • Date
    • Thread