Switches

A switch is a visual toggle between two mutually exclusive states—on and off.

스위치는 두 개의 상호 배타적인 상태 (켜기와 끄기) 사이의 시각적 토글입니다.

Consider adjusting a switch’s appearance to match the style of your app. If it works well in your app, change the colors of a switch in its on and off states or use custom imagery to represent the switch.

앱의 스타일에 맞게 스위치 모양을 조정하십시오. 앱에서 잘 작동하는 경우 스위치의 색상을 켜기 또는 끄기로 변경하거나 맞춤 이미지를 사용하여 스위치를 나타낼 수 있습니다.

Use switches in table rows only. Switches are intended for use in tables, such as in a list of settings that can be toggled on and off. If you need similar functionality in a toolbar or navigation bar, use a button instead, and provide two distinct icons that communicate the states.

테이블 행에만 스위치를 사용하십시오. 스위치는 켜기 / 끄기로 전환 할 수있는 설정 목록과 같이 테이블에서 사용하기 위한 것입니다. 툴바나 네비게이션바에 비슷한 기능이 필요한 경우, 대신 버튼을 사용하고 상태를 전달하는 두 개의 별개 아이콘을 제공하십시오.

Avoid adding labels to describe the values of a switch. Switches are either on or off. Providing labels that describe these states is redundant and clutters the interface.

스위치 값을 설명하기 위해 레이블을 추가하지 마십시오. 스위치는 켜짐 또는 꺼짐입니다. 이러한 상태를 설명하는 레이블을 제공하면 중복되어 인터페이스가 혼란 스럽습니다.

Consider using switches to manage the availability of related interface elements. Switches often affect other content onscreen. Enabling the Airplane Mode switch in Settings, for example, disables certain other settings, such as Cellular and Personal Hotspot. Disabling the Wi-Fi switch in Settings > Wi-Fi causes available networks and other options to disappear.

스위치를 사용하여 관련 인터페이스 요소의 가용성을 관리하십시오. 스위치는 종종 화면상의 다른 콘텐츠에 영향을 미칩니다. 예를 들어 설정에서 비행기 모드 스위치를 사용하면 셀룰러 및 개인 핫스팟과 같은 특정 설정이 비활성화됩니다. 설정> Wi-Fi에서 Wi-Fi 스위치를 비활성화하면 사용 가능한 네트워크 및 기타 옵션이 사라집니다.

For developer guidance, see UISwitch.

Switches - Controls - iOS - Human Interface Guidelines - Apple Developer

Last updated