While the original comment is usually a way to do this (collapse your own subclass with a separator), iOS7 has provided us with a new fairly simple way to do this.
With the addition separatorInsetsto tables in iOS7, UITableViewCellnow has a property separatorInset. By giving it a larger value that is larger than the size of the table (for example UIEdgeInsetsMake(0, 320, 0, 0)), you can hide the delimiter by simply sliding it off the screen.
The caveat is that the default built-in views are UITableViewCellon the separator tab by default to horizontally align its contents (so that the content will also be inactive and invisible). A way to fix this would be to instead create your own subheadings or set the default source x, which you use in layoutSubviewsyour subclass method UITableViewCell.
source
share