• 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
Autolayout and Scroll Views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Autolayout and Scroll Views?


  • Subject: Autolayout and Scroll Views?
  • From: Dave <email@hidden>
  • Date: Thu, 03 Sep 2015 14:12:14 +0100

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


_______________________________________________

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


  • Prev by Date: Re: Unrecognized Selector Exception from IBAction's?
  • Next by Date: Re: Unrecognized Selector Exception from IBAction's?
  • Previous by thread: Re: Unrecognized Selector Exception from IBAction's?
  • Next by thread: Swift generics, circular type declarations, and segfaults, oh my!
  • Index(es):
    • Date
    • Thread