I opened my project which was in Xcode 6 in Xcode 7 and the auto layout (for different devices) is not working in the simulator. Below I put a simulator image on iphone 4s and another on iphone 6. Someone knows how to solve?
Thank you.
1
Note that they are different dimensions for each of the simulators you mentioned. If the self-layout is activated and the constraints properly defined, there would be no reason for it to happen. So, based only on the images, my opinion is that the constraits are not correct. If you can show us how they are, we can help more. And that’s not because of Xcode 7, because the iPhone 6 simulator comes since last year.
Hi Paulo, I didn’t really define contractions. In Xcode 6 it worked. He increased the screen on iPhone 6 to match the layout with iPhone 4, for example
Note that they are different dimensions for each of the simulators you mentioned. If the self-layout is activated and the constraints properly defined, there would be no reason for it to happen. So, based only on the images, my opinion is that the constraits are not correct. If you can show us how they are, we can help more. And that’s not because of
Xcode 7
, because the iPhone 6 simulator comes since last year.– Paulo Rodrigues
Hi Paulo, I didn’t really define contractions. In Xcode 6 it worked. He increased the screen on iPhone 6 to match the layout with iPhone 4, for example
– Celso Melero
I understand that this no longer occurs in Xcode 7.
– Celso Melero
@Celsomelero take a look at my answer http://answall.com/questions/91064/layout-largura-100-e-ou-altura-10/91069#91069
– Gabriel Rodrigues