UIKit Bounds1 UIKit: bounds, frame frame: The frame rectangle, which describes the view’s location and size in its superview’s coordinate system.(슈퍼뷰 좌표계에서 뷰의 위치와 크기를 설명하는 프레임 직사각형.) bounds: The bounds rectangle, which describes the view’s location and size in its own coordinate system.(자체 좌표계에서 뷰의 위치와 크기를 설명하는 경계 직사각형.) frame, bounds 사이의 차이는 좌표계의 시작이 슈퍼뷰, 자체 좌표로 나뉩니다. let uiView = UIView() let rect = CGRect(x: 50, y: 100, width:.. 2023. 8. 25. 이전 1 다음