Auto-layout was ignored because both the prototype cell AND the UIView of the cell had been given the custom cell class in IB.
Setting the UIView back to UIView class solved the problem.
More Related Contents:
- Giving certain cells different background colors and borders?
- the last UITableViewCell don’t have a separating line
- How can I debug ‘unrecognized selector sent to instance’ error
- How to get the indexpath.row when an element is activated?
- UITableView example for Swift
- How to insert new cell into UITableView in Swift
- reloadData() of UITableView with Dynamic cell heights causes jumpy scrolling
- didSelectRowAtIndexPath not working, Swift 3
- UIButton action in table view cell
- Issue Detecting Button cellForRowAt
- Missing return UITableViewCell
- Dynamic Height Issue for UITableView Cells (Swift)
- UITableViewCell with dynamic height iOS
- One timer per table view cell
- Multiple UILabels inside a self sizing UITableViewCell
- how to implement lazy loading of images in table view using swift
- ios 8 Swift – TableView with embedded CollectionView
- How to detect one button in tableview cell
- iOS 8 Auto cell height – Can’t scroll to last row
- Swift – How creating custom viewForHeaderInSection, Using a XIB file?
- Type ‘ViewController’ does not conform to protocol ‘UITableViewDataSource’
- Open UITableView edit action buttons programmatically
- How to get data from firebase in descending order of value?
- Class has no initializers Swift
- Swift tableView Pagination
- UITableViewCell checkmark to be toggled on and off when tapped
- UITableViewCell Buttons with action
- What is the correct way to use prepareForReuse?
- Set UITableView’s height to the height of its content with Auto Layout
- How to Set UITableViewCellStyleSubtitle and dequeueReusableCell in Swift?