
가이드와 안전영역
A layout guide defines a rectangular region that helps you position, align, and space your content on the screen. The system includes predefined layout guides that make it easy to apply standard margins around content and restrict the width of text for optimal readability. You can also define custom layout guides.
레이아웃 가이드는 화면(screen)에 컨텐츠의 위치, 정렬, 그리고 간격(Space)을 지정하는데 도움이 되는 직사각형의 영역입니다. 시스템은 콘텐츠 주위에 표준 여백을 쉽게 적용하고 최적의 가독성을 위해 텍스트 너비를 제한할 수 있는 사전에 정의된 레이아웃 가이드를 포함하고 있습니다. 또한 커스텀 레이아웃 가이드를 정의할 수 있습니다.
A safe area defines the area within a view that isn’t covered by a navigation bar, tab bar, toolbar, or other views a window or scene might provide. Safe areas are essential for avoiding a device’s interactive and display features, like the Dynamic Island on iPhone or the camera housing on some Mac models.
안전영역(safe area)는 네비게이션바(navigation bar), 탭바(tab bar), 툴바(toolbar) 혹은 다른 화면(windo or scene)이 제공할 수 있는 덮여 있지 않는 뷰 안의 영역을 정의합니다. 안전영역은 아이폰(iPhone)의 다이나믹 아일랜드(Dynamic Island)나 일부 맥(Mac) 모델의 카메라 하우징과 같은 기기의 상호작용과 디스플레이 기능을 피하는 데 필수적입니다.
In iOS, iPadOS, and tvOS, the system defines a collection of traits that characterize variations in the device environment that can affect the way your app displays on the screen. Using SwiftUI or Auto Layout, you can ensure that your interface adapts dynamically to a wide range of traits and contexts, including:
iOS, iPadOS 및 tvOS에서 시스템은 앱이 화면에 표시되는 방식에 영향을 줄 수 있는 기기 환경의 변화를 특징짓는 특성(traits)의 모음을 정의합니다. SwiftUI나 Auto Layout을 사용하면 다음과 같은 다양한 특성과 문맥에 인터페이스가 동적으로 적응할 수 있습니다.