Delete inserts of UITableViewStyleGrouped UITableView?

Does anyone know if it is possible to remove gray inserts that are automatically used in the style of UITableViewStyleGrouped when using UITableViews on iOS?

I know that UITableViewStylePlain does not have these sidebars, but I try to avoid the “sticky header views” that come up using UITableViewStylePlain.

Or maybe there is a way to disable the sticky looks of the headers when using the UITableViewStylePlain?

+3
source share
1 answer

You can remove the insert

tableView.separatorColor = [UIColor clearColor];

but it will also remove the border of all table cells.

+2
source

Source: https://habr.com/ru/post/1777124/


All Articles