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 trial

iOS

All items within one viewcontroller have disappeared. The items are in the view hierarchy but have disappeared in storyb

I can't change anything in storyboards. I've tried quitting, restarting, and cleaning my project. It's a fairly important view controller.

1 Answer

Hermet, if I understand you correctly, what has happened to you happened to me in two different ways. The problem in one case was that the size class for the Storyboard didn't match the size classes for a control. E.g., if the Storyboard says wCompact hAny and the control have a different size class, say, wAny hAny, the control can disappear. The problem in a second case was that the size classes were the same, but somehow the Installed check box in the Attributes Inspector got unchecked. Once I checked the checkbox, the element reappeared. Good luck!

Thanks! Yes, that seems to be it. Appreciate your help.

Is there a suitable guide in TTH docs for managing constraints between different views. I'm having a bit of difficulty figuring out animating view constraints without making a constraint for everything I want to animate.