Is it possible to increase the UITableView separator line thickness?

ios, uitableview, xcode

Solution

The only way of doing it, is setting the separtorStype to UITableViewCellSeparatorStyleNone and then you have two options:

- Create a custom UITableViewCell with the separator inside it or

- Create an alternate UITableViewCell with the separator you want and place inside every other cells. If you want to display 3 rows on your table, you should display 5 instead with the alternate cell in rows 2 and 4.

Problem

I have looked everywhere. Trying to increase the thickness of this line. Is there anyway to do this programmatically? Thanks

Original source

Related problems