Is it possible to remove the black line which separates the rows in a tablecell?
How can I do this? I want the cells appear like just a collection of items with no 开发者_开发问答separations in the form of lines?
And also how can I make the contentView of a cell go transparent?
If you use plain style then:
To remove lines: tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
To make the contentView of a cell go transparent: set backgroundColor = [UIColor clearColor]
in anything you can set (tableView, cell, cell.contentView).
精彩评论