• 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: Auto Layout Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto Layout Problems


  • Subject: Re: Auto Layout Problems
  • From: Dave <email@hidden>
  • Date: Mon, 07 Sep 2015 18:13:42 +0100

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


  • Follow-Ups:
    • Re: Auto Layout Problems
      • From: Daniel Phillips <email@hidden>
References: 
 >Re: Auto Layout Problems (From: Dave <email@hidden>)
 >Re: Auto Layout Problems (From: "Gary L. Wade" <email@hidden>)
 >Re: Auto Layout Problems (From: Dave <email@hidden>)
 >Re: Auto Layout Problems (From: "Gary L. Wade" <email@hidden>)
 >Re: Auto Layout Problems (From: Dave <email@hidden>)
 >Re: Auto Layout Problems (From: "Gary L. Wade" <email@hidden>)
 >Re: Auto Layout Problems (From: Dave <email@hidden>)
 >Re: Auto Layout Problems (From: Luther Baker <email@hidden>)
 >Re: Auto Layout Problems (From: Dave <email@hidden>)
 >Re: Auto Layout Problems (From: Dave <email@hidden>)
 >Re: Auto Layout Problems (From: Roland King <email@hidden>)
 >Re: Auto Layout Problems (From: Dave <email@hidden>)

  • Prev by Date: Re: NSAtomicStore and multi processes
  • Next by Date: Re: Auto Layout Problems
  • Previous by thread: Re: Auto Layout Problems
  • Next by thread: Re: Auto Layout Problems
  • Index(es):
    • Date
    • Thread