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 (iOS7) Getting Started What Is a Label?

Don Noray
Don Noray
19,238 Points

My button is appearing off screen

When I add the "Predict" button to the View Controller, it appears to the right and off the screen in the simulator.

I'm using xCode 6

3 Answers

obey me
obey me
1,135 Points

You have to change the UIViewController size to Iphone 5 not the simulator then everything is going to be in a normal position

Don Noray
Don Noray
19,238 Points

I unchecked "Use size Classes" in the "File Inspector" and that worked.

obey me
obey me
1,135 Points

yeah that's what you had to do

obey me
obey me
1,135 Points

does it work ?