Text Fields

A text field is a single-line, fixed-height field, often with rounded corners, that automatically brings up a keyboard when the user taps it. Use a text field to request a small amount of information, such as an email address.

텍스트 필드는 종종 둥근 모서리가 있는 단일 줄의 고정 높이 필드이며, 사용자가 탭 할 때 키보드를 자동으로 불러옵니다. 텍스트 필드를 사용하여 전자 메일 주소와 같은 소량의 정보를 요청합니다.

Show a hint in a text field to help communicate purpose. A text field can contain placeholder text—such as "Email" or "Password"—when there’s no other text in the field. Don’t use a separate label to describe a text field when placeholder text is sufficient.

의사소통을 돕기 위해 텍스트 필드 안에 힌트를 보여주십시오. 텍스트 필드는 필드에 다른 텍스트가 없는 경우 "이메일" 또는 "암호"와 같은 placeholder 텍스트가 포함될 수 있습니다. placeholder 텍스트가 충분한 경우 별도의 레이블을 사용하여 텍스트 필드를 설명하지 마십시오.

Display a Clear button in the right end of a text field when appropriate. When this element is present, tapping it clears the contents of the text field, eliminating the need to keep tapping the Delete key.

적절한 경우 텍스트 필드의 오른쪽 끝에 Clear(지우기) 버튼을 표시하십시오. 이 요소가 있을때 탭 하면 텍스트 필드의 내용이 지워지므로 Delete 키를 계속 누를 필요가 없습니다.

Use secure text fields when appropriate. Always use a secure text field when your app asks for sensitive data, such as a password.

적절한 경우 보안 텍스트 필드를 사용하십시오. 앱에서 암호와 같은 중요한 데이터를 요청할 때는 항상 보안 텍스트 필드를 사용하십시오.

Use images and buttons to provide clarity and functionality in text fields. You can display custom images in the left or right sides of a text field, or you can add a system-provided button, such as the Bookmarks button. In general, use the left end of a text field to indicate a field’s purpose and the right end to indicate the presence of additional features, such as bookmarking.

텍스트 필드에 명확성과 기능을 제공하기 위해 이미지와 버튼을 사용하십시오. 텍스트 필드의 왼쪽 또는 오른쪽에 사용자 지정 이미지를 표시하거나 책갈피 단추와 같은 시스템 제공 단추를 추가할 수 있습니다. 일반적으로 텍스트 필드의 왼쪽 끝을 사용하여 필드의 용도를 나타내고 오른쪽 끝을 사용하여 책갈피와 같은 추가 기능의 존재를 나타냅니다.

For developer guidance, see UITextField.

Tip For multiline or multistyle text entry, use a text view instead. See Text Views.

Keyboards

Show the appropriate keyboard type. iOS provides several different keyboard types, each designed to facilitate a different type of input. To streamline data entry, the keyboard displayed when editing a text field should be appropriate for the type of content in the field. If your app asks for an email address, for example, it should display the email address keyboard. For a complete list of available keyboard types, see the UIKeyboardType constant of UITextInputTraits.

적절한 키보드 유형을 보여주십시오. iOS는 각각 다른 유형의 입력을 용이하게 하도록 설계된 여러 가지 키보드 유형을 제공합니다. 데이터 입력을 간소화하려면 텍스트 필드를 편집할 때 표시되는 키보드가 필드의 콘텐츠 유형에 적합해야 합니다. 예를 들어 앱에서 전자 메일 주소를 묻는 경우 전자 메일 주소 키보드를 표시해야 합니다.

For related guidance, see Custom Keyboards.

Text Fields - Controls - iOS - Human Interface Guidelines - Apple Developer

Last updated