Search code examples
iphonexcodeipadxcode10

How to non programmatically add constraints to label and textview in my case study?


Screenshot of the example I am working with:

enter image description here

I searched for the answer in previous posts but was unable to find the answer. When I execute, the text fields are overlapping with one another and is clustered. I am not sure, what constraints to add, in order to have my layout as such when I execute in different devices, non programmatically.


Solution

  • I had previously added some constraints, which I wasn't able to see. I had to clear all my constraints and reset to recommended constraints. The app was good when I ran in the simulator.