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

Xcode different display when I run on my computer than in the lecture.

I am following along with Build a Simple IOS app in Swift 3: Introduction to Views... I picked the iPhone 6s simulator at the top as was shown in the lecture. In the video, it shows below the main View, "View as iPhone 6s" but when I run it in Xcode 8.3 on my computer, it says "View as iPhone 7s" below the main View. And when I run the app, the button is not centered. Why?

I am running Xcode 8.3 instead of Xcode 8.0 being run the video. Will I run into any problems now or in future lessons?

3 Answers

Hey Nadia Bluhm, no won't run into any problems for different Xcode versions. However I didn't quite understand the issue, can you publish a screenshot to demonstrate?

https://www.dropbox.com/s/doq5wsa4anrojwd/Screenshot%202017-05-03%2014.39.23.png?dl=0

I picked iPhone 6s above but below the storyboard area it says View as iPhone 7. In the lesson, the screen shows both of these matching. Why?

Nadia Bluhm Nothing to worry. Xcode shows the current standard iPhone Name there, which is the iPhone 7. If you click that, you can switch between 7 Plus, iPad, iPhone SE etc. Since iPhone 6, iPhone 6S and iPhone 7 have the same screen size, it shows the current most recent iPhone name in that screen size. Nothing to do with the simulator :) Hope it clears the confusion. Happy Coding!

Thanks!