3

Swift layout issue. I want to set my stackView at the bottom part. I set the proper constrain even my stackView not fix at the correct place. Here is the attach image. enter image description here enter image description here

Here is my Constrain Setup. enter image description here

Can you please explain what is the actual problem.I have same issues with my same other app also.

Cal
  • 422
  • 6
  • 20
Krunal Nagvadia
  • 1,083
  • 2
  • 12
  • 33

1 Answers1

0

I notice your storyboard view and simulator view seem to be different devices - have you set the 0 bottom constraint equal to the bottom of the safe area, or the superview? And does it do the same thing when you use a different simulator (I.e the same as the view used in your storyboard)?

Edit: sorry just realised the first and second images were both different simulators. My question on where you’ve set the constraint stands, though.

Joe L
  • 1
  • 1