2015-07-28 38 views

回答

0

可以使用

UIView* separatorLineView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 3)];/// change size as you need.  
separatorLineView.backgroundColor = [UIColor whiteColor];// you can also put image here 
[cell.contentView addSubview:separatorLineView]; 

在您的tableView添加分隔视图,然后给背景颜色来查看,然后检查separatorColor。

希望它有帮助。

+0

感谢您的回答。但我需要一种方法来获取默认的分隔线颜色并在另一个视图上使用它。不要更改默认分隔符。 – VictorJi