Reputation: 135
I have multiple cells (prototype cells) in my UITableViewController. I want to reduce the space between the subsequent cells to almost negligible, so that it appears like a continuous list of items. How can this be done? Please suggest the best way.
Upvotes: 0
Views: 690
Reputation: 7605
Probably you meant the separator
between cells. It's the property of Table View.
You can do this from your code:
tableView.separatorStyle = UITableViewCellSeparatorStyle.None
Or you can set this property in the Interface Builder too:
Upvotes: 1
Reputation: 4859
As @Shubham pointed out... table view cell don't have space between them.
Maybe you have a problem caused by other things such as separators (you can see it in the image as well), section header, subviews of the cell.
Upvotes: 1