ios - How to remove the top line of UITableView? -
this question has answer here:
- how remove top cell separator line 1 answer
- remove top gray line on uitableviewcell 5 answers
- grouped uitableview remove outer separator line 7 answers
- how remove gray line on top uitableview 1 answer
the short answer can't. built-in cell dividers either drawn everywhere, including above top cell , below last cell, or not @ all.
the long answer have turn off cell dividers , add one-point lines @ top , bottom of custom cells , add code in table view's cellforrow(at:) function shows , hides lines based on cell's position in table view. it's awful, horrible, fussy code write, don't know of other solution.
Comments
Post a Comment