On 03/07/2012, at 6:49 AM, 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
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 wrote:
> Are you using the standard UITableViewCell or custom cells? I'm assuming they
> ar
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 t
If you want something potentially scrollable, you want a UITextField. And if
you're using custom sub views then you should also be defining a custom
UITableViewCell subclass. So yes, time to subclass and write custom stuff.
Luke
On Jul 2, 2012, at 1:49 PM, C.W. Betts wrote:
> I'm trying to wri
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.