Re: UITableView woes
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