Skip to content

Instantly share code, notes, and snippets.

Created January 3, 2014 23:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Ciechan/8248521 to your computer and use it in GitHub Desktop.
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