No Xcode components in the simulator?

Asked

Viewed 356 times

1

I have a problem with xCode in the Swift. Suddenly you don’t want to appear in the simulator new components that I include in viewController.

For example: If I put a simple button on screen, when compiling in the simulator this same button does not appear. Why is this happening?

  • He must have been behind another component in the Builder interface. Open the left window that displays all components on the screen and drag it to the end of the list.

  • Another possibility is that it is a cache problem. Try doing it first Product -> Clean and then spin, maybe it works.

  • Hello, I came to see and is not behind the view no. I do not know from to see the link below the image like this.... http://f.666kb.com/i/d2bj0cncapn4dzoba.gif

  • Hi, I also made a clean and no working, and the most curious thing is that I’m changing the position of the components inside the view and at the time of showing in the simulator it looks like I haven’t changed the position, keeping the previous one, now if for example in an imageview I change the image and run the simulator the new image appears, if I delete the component when running the simulator does not show the component, more if I change the positions of the components in the simulator does not change, Already restarted the Xcode the simulator already restarted the mac and nothing. I don’t understand. Thank you.

  • So it could be a layout problem, autolayout and size class are enabled?

  • Yes they are enabled.

Show 1 more comment

1 answer

1

I discovered here the problem was showing in wCompact and hCompact inserir a descrição da imagem aqui

Then I changed to Wany and Hany and solved inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.