I did like following
tableview.s开发者_运维知识库eparatorStyle = UITableViewCellSeparatorStyleNone;
However, when I add new row , separator will appear like following picture.
How to remove separator in UITableViewCell ?
I got it
UIView *backView = [[UIView alloc] initWithFrame:CGRectZero];
backView.backgroundColor = [UIColor clearColor];
tableview.backgroundView = backView;
[backView release];
Just posting because i found other way.
I used UITableView.separatorColor property and set color same as background color of cell.
It will make it easier for those who are using default cell properties
精彩评论