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.
– Luis Henrique
Another possibility is that it is a cache problem. Try doing it first
Product -> Clean
and then spin, maybe it works.– Otávio
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
– user1649307
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.
– user1649307
So it could be a layout problem, autolayout and size class are enabled?
– Otávio
Yes they are enabled.
– user1649307