I had a similar problem with an iOS project recently (sounds like yours is OS 
X?) and it took me quite a while to figure out. 

Sort of like Quincey said: three labels in a horizontal line, under horizontal 
compression, where each label has the same compression resistance. I didn't get 
any warnings, and the view rendered correctly in IB, but went haywire in the 
simulator, especially when rotating. 

Anyway, the resistances needed to be different values because otherwise it was 
ambiguous which one should shrink. Makes sense to me now but I really would 
have loved a warning there. 

My understanding of Auto Layout is pretty basic so perhaps this is something 
everyone else already knows, but I figured I’d mention it. 

> On May 18, 2016, at 1:54 PM, Ulf Dunkel <dun...@calamus.net> wrote:
> 
> How can I debug Auto Layout issues when the Assistant Editor's Preview shows 
> that everything seems to be fine?
> 
> Any hints are really appreciated.
> 
> ---Ulf Dunkel
> ______________________________________________

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to