Skip to content

Instantly share code, notes, and snippets.

Created January 3, 2014 23:11
What would you like to do?
this *sometimes* helps fixing the cell separator
@implementation UITableViewCell (SeparatoriOS7Fix)
- (void)fixSeparator
UIEdgeInsets insets = self.separatorInset;
self.separatorInset = UIEdgeInsetsMake(, insets.left + 1.0, insets.bottom, insets.right);
self.separatorInset = insets;
Copy link

steipete commented Jan 3, 2014

separatorInsets ignores top and bottom values, so no need to preserve them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment