Since Updating to xcode 12 I am not able to place any UIControl inside UITableViewCell
Your code was always wrong:
cell.addSubview(textField)
You must never add a subview to a cell. Add the subview to the cell's contentView
.
The same happened to me since I upgraded to iOS 14. This has worked for me when I add the subViews directly to the cell,
cell.contentView.isUserInteractionEnabled = true