Re: Auto Layout Problems
Re: Auto Layout Problems
- Subject: Re: Auto Layout Problems
- From: Daniel Phillips <email@hidden>
- Date: Mon, 07 Sep 2015 18:18:33 +0100
Hi Dave,
Would love to see that sample project of yours.
Thanks
Daniel
Sent from my iPhone
> On 7 Sep 2015, at 18:13, Dave <email@hidden> wrote:
>
> Hi,
>
> After much grief I finally managed to get a Scroll View, a Stack View and Auto Layout to live together in some sort of harmony and I managed to 99% of it in XCode 6.4 and Mac OS 10.10. The secret to making it work is to ensure that:
>
> 1. You use Embed in Scroll View to add the Stack View.
>
> 2. view.translatesAutoresizingMaskIntoConstraints = NO, before adding the Detail View to the Stack View. Once I did this, things started working to the point I could see which constraints needed to be changed and experiment to try and get the effect I want, which I am working on now.
>
> I’ve got a Test Project with this working ok, if anyone wants it, let me know.
>
> Many thanks for all those who helped with this.
>
> All the Best
> Dave
>
>
> _______________________________________________
>
> 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
_______________________________________________
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