A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Navigating to TableViewController from a view
Joined: Jul 08, 2002
Sep 14, 2010 20:31:24
I'm working on an app where I've a UITableView and I want to wrap the text in the cells. I tried using
and is wrapped to 2 lines, but there are few cells which need to wrap to 3 lines. If I use number of Lines=3 it is not working.
Joined: Sep 13, 2010
Sep 14, 2010 20:37:04
It sounds like you will need to create a custom UITableViewCell.
Here is a tutorial we have on iCodeBlog for doing this in Interface Builder
Simply build a custom UITableViewCell that has a UITextView as a sub view. Make sure to set the editable property of the UITextView to NO.
I hope that helps!
Joined: Nov 24, 2005
Sep 14, 2010 20:44:39
Welcome to the ranch. You may not be aware of the ranch
carefully and change your name accordingly (you need both first and last names to be set). Thank you.
All roads lead to JavaRanch
I agree. Here's the link:
subject: Navigating to TableViewController from a view
JTextArea & Cursor
How to write the html code for this kind of table
POI Excel Large Function shows #VALUE!
Game Of Life, some questions
Game Tutorials -->> TicTacToe
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014