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


My iPad or iPhone is size 600x600 xcode

So i start app, iphone i4 and i6 and the screen size , in mainstoryboard is allways 600 when i start . How can i make it so it goes all the time on iPhone or iPad size?

2 Answers

In your storyboard, click the view (start with the initial view) and tab the first button from the left (looks like a little page icon). Then scroll down and uncheck "Use Size Classes."

thank you , i hope it helped not sure .

it did thhank you :)

Glad to help out!

Disable Auto Layout's Class sizes

where and how do i do that? im new to xcode and im slowely getting used to it same as on frameworks .

i got still a problem, when i put it on the center , in symulator is not on center

You will need to use AutoLayout to correct those problems. Treehouse covers that in the Swift Weather App Course

i put it on center and in app symulator is like 10 px on left or more

im doing objective-c more intrested than in swift , swift later one

Can you show a screenshot? But you still should use AutoLayout to handle those issues.

Ok, understandable, but you still need to use AutoLayout. AutoLayout is not a programming language that you can only use in swift - it is a technique for centering and arranging items in a scoreboard or xib. See this video.


Also, open a new thread to ask this question.

heres the image http://scr.hu/2icp/q9bxf

You need to use AutoLayout.

i do , i tried every combinations and sometimes works sometimes don't

Well, auto-lyout is rather tricky sometimes. It's very possible that you've made a few mistakes with your constraints. Also, you could always try cleaning your project (Command Shift K)

kk thank you. ill try it :)