Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes incorrect layout guides when pushing a view controller into a stack controller #39

Open
defagos opened this issue Dec 5, 2017 · 0 comments

Comments

@defagos
Copy link
Owner

defagos commented Dec 5, 2017

Sometimes the top layout guide might not be correctly propagated to the child view controller.

After spending too much time investigating this issue (without real success), I stumbled upon the probable cause: before iOS 11, -addChildViewController: must be called after the child view controller view has been added to its parent container, so that layout guides are correctly propagated.

The issues seems to disappear with iOS 11 and the new safe area concept. It is probably not so relevant anymore to address it.

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

No branches or pull requests

1 participant