Storyboard에서 MinHeight를 유지하면서 ContentView와 어울리는 UIScrollView를 정의합니다
하고 싶은 일
화면의 높이를 기본값으로 설정합니다. 화면 높이를 초과할 때 굴러가는 View


Storyboard 설정




[중요] UIView 높이 제한 사용
remove at build time
!
[중요] UIView에서greaterThanOrequalTo의 높이 제한을 설정합니다!

사실 UIView 고도의 이퀄 제한은 설정하지 않아도 이동하지만 스토리보드에서는 오류가 발생하는데, 이를 피하기 위해
remove at build time
를 효율적으로 제약하도록 설정했다.덤
remove at build time
효력이 발생한 후의 제약은 Storyboard에서 일반적인 제약과 다르다.
이해하셨습니까?제약을 나타내는 선은 파란색이 아니라 검은색!잘 알아!

Reference
이 문제에 관하여(Storyboard에서 MinHeight를 유지하면서 ContentView와 어울리는 UIScrollView를 정의합니다), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/Nonchalant/items/78e6d3010870e0a376a3텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)