PDA

View Full Version : About wrapping text in tableview




iphonejudy
Mar 5, 2009, 02:27 AM
Hi,


I display fields of rss in a tableview.

The titles are displayed in the cells of tableview.

I need to wrap the text inside cells.

I refer some documents related to the tableview.In that they mentioned about to change row height only.

Can anyone tell me,how to wrap the text inside each row of cells?



caveman_uk
Mar 5, 2009, 02:50 AM
You need to create a custom UITableViewCell as the normal one doesn't wrap. One of the tricks is to work out exactly high high you need the cell to be for the string to be displayed as they won't automatically adjust.

iphonejudy
Mar 5, 2009, 03:09 AM
i didnt get u