Problem with gropuedStyle for UITableView

Discussion in 'iOS Programming' started by sujithkrishnan, Jul 29, 2008.

  1. macrumors 6502

    Joined:
    May 9, 2008
    Location:
    Bangalore
    #1
    Hi all..


    I am having a problem with my UITableView when its style is grouped.

    If i am setting the text for cell (cell.text =myObj.name) , I can see a BOX (say a white Opaque background) around the text.

    It is hiding the separator lines, also that BOX is coming out of the table boundaries for the last cell's text.

    Why so???

    I went through soem sample codes, but no one used text for Grouped style, all are addding extra labels, buttons as contentView to such cells.

    But i want it as cell.text ??

    Why such BACKGROUND is coming???

    I tried increasing the cell-height, still the last cell's BOX is visible (separators are visible now)
     

Share This Page