Re: Constraints to keep 2 views same height not working
Re: Constraints to keep 2 views same height not working
- Subject: Re: Constraints to keep 2 views same height not working
- From: Wim Lewis <email@hidden>
- Date: Tue, 24 Jan 2017 14:25:22 -0800
On Jan 24, 2017, at 1:42 PM, Steve Mills <email@hidden> wrote:
> This should be easy, but it's not working. There's even a sample in Apple's Auto Layout Guide that shows the same constraints that I'm using (although it's doing widths instead of heights).
You may have already checked for this, but: is "translates autoresize mask to constraints" turned on for any of the views? This trips me up pretty often. The constraints generated that way have a highish priority, so they might be quietly overriding your explicit constraints without causing any conflicts that would show in a log message.
Otherwise, maybe try [theWindow visualizeConstraints:[someView constraintsAffectingLayoutForOrientation:...]].
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden