Add the subviews to the contentVIew (per the documentation). Issue #1717
This commit is contained in:
parent
ab8deab726
commit
6454330c8b
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue