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.

I'm assuming that you have an @IBAction that changes the label when the button is clicked. In your storyboard, when you right click (or control + left click) on the button, do you see function connected under the "Sent Events"? It would likely be tied to the "Touch up inside" event. If there is no connection, you need to reconnect the event to the function in your view controller class.