I forgot, you have to add child.view.translatesAutoresizingMaskIntoConstraints = false after declaring child.
Post
Replies
Boosts
Views
Activity
I forgot, you have to add child.view.translatesAutoresizingMaskIntoConstraints = false after declaring child.