Search code examples
iosiphoneswift3constraintsxib

Right constraints not working properly on iphone SE


Im using stack views and constraints in my app. The problem i have encountered is that the view is working properly in iphone 7, but when i turn to iphone SE my text is positioned away from my screen. These are the constraints: enter image description here


Solution

  • Change the following constraints in the following screenshots :

    enter image description here

    Trailing space to Status Label >= 63

    Add the right-hand side constraints also for the Status Label.

    same do for the "Ordered Date" and "Ordered Time" label