About wrapping text in tableview

Discussion in 'iOS Programming' started by iphonejudy, Mar 5, 2009.

  1. macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008
    #1
    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?
     
  2. Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #2
    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.
     
  3. thread starter macrumors 6502

    iphonejudy

    Joined:
    Sep 12, 2008

Share This Page