Add the subviews to the contentVIew (per the documentation). Issue #1717

This commit is contained in:
Maurice Parker 2020-01-30 13:27:17 -07:00
parent ab8deab726
commit 6454330c8b
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ private extension MasterFeedTableViewSectionHeader {
} }
func addSubviewAtInit(_ view: UIView) { func addSubviewAtInit(_ view: UIView) {
addSubview(view) contentView.addSubview(view)
view.translatesAutoresizingMaskIntoConstraints = false view.translatesAutoresizingMaskIntoConstraints = false
} }