I made a custom UITableViewCell in IB, but for some reason, despite the single line option for separator being selected, there are no separator lines on my table.
Has this happened to any of you before? What gives?
Thanks!
I made a custom UITableViewCell in IB, but for some reason, despite the single line option for separator being selected, there are no separator lines on my table.
Has this happened to any of you before? What gives?
Thanks!
I found separatorStyle in UITableView class reference. It says it will add separatorStyle to the cell returned by the delegate method, tableView:cellForRowAtIndex:.
So, I think you should modify the style property on the UITableView instance.
Is the UITableViewCell in IB associated with a UITableViewCell subclass that overrides drawRect:
? If so, make sure you are calling the super implementation, as that's what draws the line at the bottom. If you are overriding layoutSubviews
make sure no views are obscuring the bottom of the cell.