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 trialGa-eun Kim
2,558 PointsSame constraints, but different sizing
I followed the exact same steps that Pasan did, but there are still orange and red lines showing up. When I show the assistant editor for the 4.7 inch screen, the images are shifted to the left instead of centered. I have no idea what I did wrong.
2 Answers
Brian Wassel
22,171 PointsI run into similar problems quite often. i think its because you and I alike are using a newer version of X-Code or swift (these videos are outdated) i recommend google and document reference.
garyguermantokman
21,097 PointsIf you're having issues with the height and width not being exact.
- You can set the height and width for the top left UIImageView only
- Control drag the rest of the imageViews to that one
- Select equal width and equal heights.
Ga-eun Kim
2,558 PointsGa-eun Kim
2,558 PointsYeah, I eventually used the teacher's version. :( I think I made a fatal mistake when I tried to fix the bug, and did something to the actual structure behind the code.
Thanks for your reply!