HIG

[iOS / HIG] Text Fields

Minny27 2022. 2. 5. 21:40

Text Fields

A text field is a single-line, fixed-height field that automatically brings up a keyboard when people tap it. Use a text field to request a small amount of information, such as a name or an email address.

텍스트 필드는 사용자가 키보드를 누를 때 자동으로 나타나는 단일 줄의 고정 높이 필드입니다. 텍스트 필드를 사용하여 이름 또는 전자 메일 주소와 같은 적은 양의 정보를 요청합니다.

 

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

텍스트 필드에 힌트를 표시하여 용도를 쉽게 전달할 수 있습니다. 필드에 다른 텍스트가 없을 경우 텍스트 필드에는 "전자 메일" 또는 "암호"와 같은 자리 표시자 텍스트가 포함될 수 있습니다. 자리 표시자 텍스트가 충분한 경우 별도의 레이블을 사용하여 텍스트 필드를 설명하지 않도록 합니다.

 

Display a Clear button in the trailing end of a text field to help people erase their input. When this element is present, people can tap it to clear the text field’s contents, without having to keep tapping the Delete key.

입력 내용을 지우는 데 도움이 되도록 텍스트 필드의 뒷부분에 지우기 단추를 표시합니다. 이 요소가 있으면 삭제 키를 계속 누를 필요 없이 이 요소를 눌러 텍스트 필드의 내용을 지울 수 있습니다.

 

Use secure text fields to hide private data. 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 both ends of a text field, or you can add a system-provided button, such as the Bookmarks button. In general, use the leading end of a text field to indicate a field’s purpose and the trailing end to offer additional features, such as bookmarking.

이미지 및 버튼을 사용하여 텍스트 필드에 선명도와 기능을 제공합니다. 텍스트 필드의 양쪽 끝에 사용자 정의 영상을 표시하거나 Bookmarks(북마크) 버튼과 같은 시스템 제공 버튼을 추가할 수 있습니다. 일반적으로 텍스트 필드의 맨 앞 끝을 사용하여 필드의 목적을 나타내고, 후행 끝을 사용하여 책갈피와 같은 추가 기능을 제공합니다.

 

For developer guidance, see UITextField.

개발자 지침은 UITextField를 참조하십시오.

 

TIP

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

'HIG' 카테고리의 다른 글

[iOS / HIG] Animation  (0) 2022.02.19
[iOS / HIG] Loading  (0) 2022.02.19
[iOS / HIG] Tables  (0) 2022.02.05
[iOS / HIG] Image Views  (0) 2022.02.05
[iOS / HIG] Collections  (0) 2022.02.05