Search code examples
ios8xcode6separator

iOS 8 breaks separator lines in UITableViews


enter image description here

I've tried a variety of the layoutMargins code bits and it still doesn't seem to have any effect to fix this weirdness.


Solution

  • My subclassed UITableViewCell was missing [super layoutSubviews]. (oops)

    - (void)layoutSubviews
    {
        [super layoutSubviews];  // <-- important!
    ...