• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: what happens when layout constraint height and frame height conflict (iOS)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >what happens when layout constraint height and frame height conflict (iOS)? (From: Matt Neuburg <email@hidden>)
 >Re: what happens when layout constraint height and frame height conflict (iOS)? (From: Kyle Sluder <email@hidden>)
 >Re: what happens when layout constraint height and frame height conflict (iOS)? (From: Matt Neuburg <email@hidden>)
 >Re: what happens when layout constraint height and frame height conflict (iOS)? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: what happens when layout constraint height and frame height conflict (iOS)?
  • Next by Date: Re: what happens when layout constraint height and frame height conflict (iOS)?
  • Previous by thread: Re: what happens when layout constraint height and frame height conflict (iOS)?
  • Next by thread: Re: what happens when layout constraint height and frame height conflict (iOS)?
  • Index(es):
    • Date
    • Thread