lundi 29 juin 2015

AutoLayout not working in runtime iOS

I have a view, for which I have set the constraints using AutoLayout. After setting the constraints, the preview looks like what I need to have as given below. This is the preview

Now when I run the project in the simulator. The AutoLayout constraints seem to be not there. The views are not inj the same position as in the preview. Note: I have not made any dynamic changes to the views positions in the code. I hope so. Please help. Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire