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

After clicking on the button,nothing is changing.Before setting the constraints,button was working fine

I am trying to build a basic app in here.I set a button and label using an Interface Builder. After clicking on the button,nothing is changing.Before setting the constraints,button was working fine and other strings which I had stored in the array where displaying but after setting the constraints,clicking on the button changes nothing.

Addison Francisco
Addison Francisco
9,561 Points

Please paste your code so we can start helping out

hey,thanks for replying.I fixed the bug myself.

Addison Francisco
Addison Francisco
9,561 Points

Great job on fixing this yourself! You could possibly help out others by posting your code with the original code/bug and your solution you used. I encourage you to always paste your code so others can contribute to your learning.

1 Answer

Hi Rohan,

Would you post your code, so we can see what is going on?

Thanks, David

Hey David,thank you so much for replying.I fixed the bug.