• 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: Resolving bizarre autolayout crashes.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resolving bizarre autolayout crashes.


  • Subject: Re: Resolving bizarre autolayout crashes.
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 04 Feb 2015 12:33:58 -0600

On Wed, Feb 4, 2015, at 12:24 PM, Alex Zavatone wrote:
> Here's the error log:
>
> Error message follows.
> UIView property translatesAutoresizingMaskIntoConstraints)
> (
>     "<NSLayoutConstraint:0x16d8e230
>     V:[UIScrollView:0x16d8df50(>=1368)]>",

This looks like it might be the culprit. Constraints applied to the
scroll view itself that don't relate to a descendant are considered to
affect the scroll view's size within its superview, not its scrollable
area.

If you are trying to force the scrollable area to be at least a certain
size, you can't constrain the scroll view itself. You need to add a
UIView as a subview, pin its sides to its superview, and constrain
_that_ view's height.

--Kyle Sluder
_______________________________________________

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


  • Follow-Ups:
    • Re: Resolving bizarre autolayout crashes.
      • From: Alex Zavatone <email@hidden>
References: 
 >Resolving bizarre autolayout crashes. (From: Alex Zavatone <email@hidden>)
 >Re: Resolving bizarre autolayout crashes. (From: Ben Kennedy <email@hidden>)
 >Re: Resolving bizarre autolayout crashes. (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing
  • Next by Date: Self describing NSObjects.
  • Previous by thread: Re: Resolving bizarre autolayout crashes.
  • Next by thread: Re: Resolving bizarre autolayout crashes.
  • Index(es):
    • Date
    • Thread