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

Simulator size issue....

Hi

I have a weird issue with the simulator. If i add something on a viewcontroller in xcode (e.g label) on the far right side it will not be revealed in the simulator. Basically the simulator does not let me scroll left or right only up and down. Anyone has a clue about how i could solve this?

Thanks!

[IMG]http://i58.tinypic.com/1z6wcb8.png[/IMG]

BTW i tried scaling its not working the same issue

2 Answers

Pasan Premaratne
STAFF
Pasan Premaratne
Treehouse Teacher

Hey there,

The issue here is that you are using a universal storyboard scene that adapts to any device size rather than a specific iPhone. What you need to do is add AutoLayout constraints to specify exactly where the label will sit in relation to the view. If all of that sounds confusing, this video is a good place to start :)

Thank you that was very helpful