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 with Swift Views and View Controllers View Controllers and IBAction

Juri Kühn
Juri Kühn
92 Points

Hello, i try to change the device on the Xcode interface to iPhone5. but Xcode does`t make any changes.

Hello, i try to change the device on the Xcode interface to iPhone5. but Xcode does`t make any changes. What am I doing wrong?

BR

3 Answers

Zachary Kaufman
Zachary Kaufman
1,463 Points

Do you mean when you are building the control view you can't switch to building it on only an iPhone 5? Or do you mean the simulator won't show an iPhone 5?

Juri Kühn
Juri Kühn
92 Points

The simulator changes the devices, but it is shifted. The view controller is not reacting to the changing of the devices.

You can see it on the pictures.

https://picload.org/image/rraclcoa/1.png https://picload.org/image/rraclcol/2.png

I think I'm having the same problem, BUT only when I'm using Xcode 8 beta. Xcode 7.3.1 simulators do simulate the views correctly for me.