Having issues with constraints not looking like I expect them to Xcode Storyboard mode

StackOverflow https://stackoverflow.com/questions/22160530

  •  19-10-2022
  •  | 
  •  

문제

I'm trying to have my switch hug the right side of the view like it does in portrait mode but when I switch to landscape mode it pretty much ignores my constraint.

The constraints seem to work fine outside of the scrollview.

Any tips or suggestions on how to overcome this? Pictures included to show what I mean

Here we have a constraint from the switch to the trailing space to the container

Here in landscape, the constraint is totally ignored

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top