Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.