Jules
Jules

Reputation: 544

different storyboard in Xcode/iOS simulator

Suddenly my storyboard changed and it only displays one of the four textfields. When I run the code in the iOS simulator, I see all the four text fields.

I'm quite new to Xcode and would like to know how I can change my storyboard back so I see the same as in the simulator. It was right before.

A screenshot:enter image description here

Upvotes: 1

Views: 755

Answers (1)

diederikh
diederikh

Reputation: 25271

You probably haven't updated the frames of the text fields to match your auto layout constraints. Click on tie-fighter icon (|-Δ-|) in the button bar under the canvas. Here you can choose "Update frames" for all views.

Upvotes: 2

Related Questions