ios - Removal of white line under section header in UITableView? -
i'm struggling removing white lines below each custom section header in uitableview, seen below. suggestions? use in tableview.
self.tableview.separatorstyle = uitableviewcellseparatorstyle.none
the above solves separators between cells, not headers.
the thing have in custom section header
containercellview.backgroundcolor = uicolor(red: 24/255.0, green: 34/255.0, blue: 41/255.0, alpha: 100)
set heigth header & footer 0.01 solve problem
func tableview(tableview: uitableview, heightforheaderinsection section: int) -> cgfloat { return 0.01 }
Comments
Post a Comment