Re: what happens when layout constraint height and frame height conflict (iOS)?
Re: what happens when layout constraint height and frame height conflict (iOS)?
- Subject: Re: what happens when layout constraint height and frame height conflict (iOS)?
- From: Roland King <email@hidden>
- Date: Tue, 27 Nov 2012 07:30:20 +0800
On 27 Nov, 2012, at 7:25 AM, Kyle Sluder <email@hidden> wrote:
> On Mon, Nov 26, 2012, at 12:57 PM, Matt Neuburg wrote:
>> It would help me if you could suggest a method call that would exercise
>> the constraint system, e.g. perhaps causing the frame to snap back to
>> height 36, thus proving to the student that this behavior is problematic.
>> I tried things like layoutSubviews and layoutIfNeeded but nothing
>> happened. Thx -
>
> Did you try -setNeedsLayout?
>
or setNeedsUpdateConstraints perhaps, that should cause the constraint system to reevaluate all the constraints and then layout
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden