UITableview separator not hiding for iOS9

Please set the separator style to None in layoutSubviews method.

When constraints-based layout is used the base implementation applies the constraints-based layout and setting separatorStyle to UITableViewCellSeparatorStyleNone in this method will hide the separator for you.


I'm also facing the same issue. My workaround was just to set

tableView.separatorColor = UIColor.clearColor().


From my investigations, it's not iOS 9 at fault, but Xcode 7.0 beta 4.

If I build the app using Xcode 7.0 beta 4, then the cell separators are shown even when set to None in Interface Builder. If I build the same code with Xcode 6.4 or 7.0 beta 3, the separators are not shown.

You can explicitly call this in your ViewController as a workaround:

self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

(I guess ibtool may be at fault)