Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMax Lettenberger
2,017 PointsNo "bottom" option.
When I ctrl drag one of my image views onto another, there's no "bottom" option as there is in Pasan's.
New version of Xcode?
Is there a new way to do this?
Please let me know!
5 Answers
Fernando Tancini
6,386 PointsHello, I had the same problem. I don't really know why it worked, but try this out: 1 - select the view and ctrl drag. 2 - when the pop-up box appears, simply click on the view again so that the pop-up box disappear. 3 - ctrl drag it again and the pop-up box will have different options.
I hope it works also for you. Let me know if i doesn't please.
colinwylie
4,220 PointsMax (and others who need this answered), I'm currently on xcode 6.4, and similar to what Fernando says it's a silly fix.
Instead of "Control dragging" straight up to the UIImageView to open the dialogue box, move your mouse horizontally as well, creating a diagonal line while control dragging.
For some reason vertical lines don't cause the "bottom" option, but slightly horizontal lines do.
Good luck!
chadtrujillo
3,013 PointsThis one worked for me. The first solution didn't work out for me
Nick Jones
2,086 PointsHi Max
I'm not entirely sure of the "bottom" you're after unfortunately. Am I right in assuming that you're setting up your constraints? From what you've posted it sounds as if what you are looking for is actually "Vertical Spacing" which should be the first option available on the pop-up box when CTRL-Click and dragging from one image view to another. If this isn't the case of course just let me know.
Max Lettenberger
2,017 PointsHey Nick,
I was actually trying to align (not sure if that's the right word) a label with the bottom of an image view. I'm working on something else now, but I'll let you know when I get back to that. Thanks.
Safwan Erooth
Courses Plus Student 557 PointsHello All, The Solution that worked:
- Click on the view that you added.
- Go to attribute inspector in the right pane.
- Uncheck the autoresize option.
- Now drag the view to UIImage & you should see the "bottom" option.
After this the auto-resize seems to be checked again, maybe because we choose to stick to bottom.
But this did work for me.
Vincent Steeman
1,810 PointsYou can also drag with ctrl AND option pressed, which gives you additional options. Bottom is amongst these extra options.
Max Lettenberger
2,017 PointsMax Lettenberger
2,017 PointsFernando, that worked!
Thank you.
Rafael Schwemmer
6,109 PointsRafael Schwemmer
6,109 PointsSame issue here, your solution worked, thanks!
Brandon Mahoney
iOS Development with Swift Techdegree Graduate 30,149 PointsBrandon Mahoney
iOS Development with Swift Techdegree Graduate 30,149 PointsSimpler way to remember is drag diagonally to bring up the extra options. That is actually what does it.