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 trialOrnilo Santiago
6,773 Pointstext Field on my View Controller show the same as the video but when I Run Application it shows only haf size, why?
I am using Xcode Version 6.1 and I am having a surprise when I add a text Field on my View Controller re-sizing the same way as the video class, and when I run the application my text fields and button show only half of the screen like their sizes are double of the original size. What I need to do to fix that?
2 Answers
Kevin Hamil
8,203 PointsI'm not sure if Treehouse has anything specifically focused on Xcode's universal layout and classes... but you can try this and see if it helps http://www.raywenderlich.com/83276/beginning-adaptive-layout-tutorial
For the sake of the getting through the iOS track, you could just turn off auto layout and use one specified size. That's what I did... I went through the course designing only for iPhone 6. Of course, I won't continue that way, but just to get through the track.
Ornilo Santiago
6,773 PointsI believe my problem is with constrains. Do you know a good tutorial explaining how to use textFields, labels, button... to fix the position exactly as I left ?
Kevin Hamil
8,203 PointsKevin Hamil
8,203 PointsIt sounds like you're having trouble with class sizes in storyboard. Class sizes are new to xcode 6. You can learn more about them here https://developer.apple.com/library/ios/recipes/xcode_help-IB_adaptive_sizes/
Are you able to show a screen shot of what you're experiencing?