I want a space between two cell in table view,
I want cell like this,
<
I suggest to create a custom UITableViewCell base class and use this class like below,
UITableViewCell classUIView in new class, this will act as the 'baseContentView' and it will be immediate child of 'UITableViewCell.contentView'padding' on 'baseContentView' (this will be the separator/gap) from parent view (UITableViewCell.contentView)UITableViewCellbaseContentView' rather than 'self.contentView'You can play with the 'padding' as per your need.