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!

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 Build a Simple iPhone App with Swift Improving Our User Interface Adapting Our Content

How do I get my random fact label to resize? It's stuck on one line.

The text "An interesting fact goes here" won't resize to two lines. Also, the random facts are constrained to the same one line. I thought I followed all the instructions. What am I missing?

Hello Gwendolyn,

In Xcode you can set the number of lines. Make search you change it from 1 to 2 or 3 if needed.

1 Answer

Thank you.