开发者

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜