Answer the question
In order to leave comments, you need to log in
How to make self sizing for child controller view?
I will add a child controller to the parent controller, I will add a child view.
addChild(childController)
view.addSubview(childController.view)
childController.didMove(toParent: self)
Answer the question
In order to leave comments, you need to log in
To do this on a frame, you need:
preferredContentSize
preferredContentSizeDidChange
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question