iOS/설명
[iOS] UIView의 clipToBounds
Sky Titan
2021. 1. 21. 10:07
728x90
Apple Developer Documentation
developer.apple.com
UIView의 clipToBounds
- view안에 있는 subview가 view의 bounds를 초과하는 크기를 가질 때, view 영역 안의 크기만 보여줄 것인지, subview 전체를 보여줄 것인지를 결정하는 속성
- true로 설정하면 view bound 영역 안에 있는 subview의 모습만 보이게 된다.
728x90