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

Size classes are not supported #10

Open
matt-oakes opened this issue Jun 30, 2015 · 0 comments
Open

Size classes are not supported #10

matt-oakes opened this issue Jun 30, 2015 · 0 comments

Comments

@matt-oakes
Copy link
Contributor

Size classes are not supported because of the way the views are removed from the containerView and then added as a subview of the view itself, before the constraints are constructed again. This process loses the size class information and leads to only the base configuration being used on all devices.

The only workaround I've found so far is to instead add the containerView as a subview of the view itself and then add constraints for the top, bottom, leading and trailing between the two. The size classes then work as expected.

Is there any other method you can think of to fix this?

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