Ok, I think I've managed to add the “Equal Widths” constraints as per:

http://natashatherobot.com/ios-autolayout-scrollview/

I now go on to the following section:

I’m a bit lost as to what:

The constraints between the ScrollView and the ContentView are surprisingly 
straight forward – just bind the ContentView to the ScrollView (make sure the 
constant to the bottom layout guide is 0):

means? I took it mean set up constraints between the  "Bordered Scroll View” 
and  "Flipped Clip View”, so I select "Bordered Scroll View” and "Flipped Clip 
View” and then select Add Constraint, but it won’t let me click the top, 
bottom, left, right constraints as shown in the link? 

Does anyone know of some clear instructions as to how to set this up in 
XCode/IB? I’m not sure if the link is different because of a difference in 
XCode versions (I’m using 6.4) or its iOS instead of Mac, or something else. 

Thanks a lot
Dave

> On 3 Sep 2015, at 14:14, Dave <[email protected]> wrote:
> 
> Hi,
> 
> I’m trying to setup a Scroll View for Auto Layout, at the suggestion to 
> someone on the list, I’m looking at:
> 
> http://natashatherobot.com/ios-autolayout-scrollview/
> 
> I have the following View Hierarchy setup in the Window NIB.
> 
> Window
>       Custom View
>               WindowHeaderView
> 
>       Bordered Scroll View
>               Flipped Clip View
>                       View
>                               StackView
>               Scroller
>               Scroller
> 
> Currently I have no constraints setup, so I follow the above link to the 
> “Equal Widths” section, I then select “Flipped Clip View” in XCode/IB and add 
> the top, bottom, left, right constraints as shown. But then it says:
> 
>  “To create the Equal Width Constraint between the ContentView and the View, 
> select the ContentView on the view hierarchy and Control + Drag to the View – 
> you should get a pop-up that gives you the “Equal Widths” option:”
> 
> I’m confused as to how to do this, what do I control drag to what? I’ve tried 
> selecting "Flipped Clip View” and Control Dragging it to "Bordered Scroll 
> View”, but I don’t get the Pop Up Window as described in the link. How do I 
> do this?
> 
> All the Best
> Dave

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

This email sent to [email protected]

Reply via email to