if(ISIOS7)
{
self.tableView.separatorInset = UIEdgeInsetsZero;
self.tableView.separatorColor = [UIColor orangeColor];
}
else
{
//add separator Line
UIView* separatorLineView = [[UIView alloc] initWithFrame:CGRectMake(2, 70, 316, 1)];
separatorLineView.backgroundColor = [UIColor orangeColor];
[cell.contentView addSubview:separatorLineView];
}
No comments:
Post a Comment