1

I have a stack view which is anchored to a scrollview. I'm getting it to display exactly how I want it to look on my iPhone 6s Plus device, as show below:

enter image description here

However, using the exact same version, when I run it on the iPhone 6s Plus simulator, my layout extends beyond the edges of the view on the right, and is similarly thrown off on other devices that I select. Any suggestions as to why the device is working, the simulator is not working?

See below, Simulator:

enter image description here

I've tried using a number of different ways to solve it, including using the new "safe area layout guides," but I can't seem to find out where I'm going wrong.

Community
  • 1
  • 1
user3284547
  • 105
  • 2
  • 11

1 Answers1

1

Check your constrains of View. Start to give constrains to SE Device then run on other device.

apply constrains as below you will get output.

Here is a constrains of views

How Sour? View

enter image description here

Very Sour View

enter image description here

Mildly Sour View

enter image description here

Mild View

enter image description here

Sweet View

enter image description here

Pang
  • 9,564
  • 146
  • 81
  • 122
nishee
  • 141
  • 7