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

Bug on NSLayoutConstraint.autoCreateConstraintsWithoutInstalling #229

Open
FranDepascuali opened this issue Oct 1, 2018 · 0 comments
Open
Assignees

Comments

@FranDepascuali
Copy link

Hello! First of all, thanks for this awesome lib!

I noticed a bug regarding autoCreateConstraintsWithoutInstalling

Description

I'm using ARSCNView. Unfortunately, if I allow rotation, it makes an ugly effect. That's why I'm manually rotating the view. I use PureLayout for achieving constraints.

I'm using this piece of code to fake the landscapeLeft orientation:
screen shot 2018-10-01 at 12 13 21

Bug

What I want to do is change the constraints of the container view while maintaing the constraints of the inner view. However, when I tried to to this :
screen shot 2018-10-01 at 12 08 00

The outcome is this:
img_0103

Expected result

I commented that piece of code and the outcome is the desired:

code

screen shot 2018-10-01 at 12 08 31

outcome

img_0104

So, maybe you can help me understand how autoCreateConstraintsWithoutInstalling affect this?

Thanks!!

@toohotz toohotz self-assigned this Oct 27, 2018
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

2 participants