Skip to content

Conversation

@hannseman
Copy link
Contributor

It is too late to add child view controllers in viewWillLayoutSubviews. Stuff like topLayoutGuide on child view controllers will not be set correctly in their viewDidLoad-methods causing issues with auto layout. I've moved the setUpViewController-calls to initView and can't see any issues with having them made there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant