Alerts

Alerts convey important information related to the state of your app or the device, and often request feedback. An alert consists of a title, an optional message, one or more buttons, and optional text fields for gathering input. Aside from these configurable elements, the visual appearance of an alert is static and can’t be customized.

경고는 앱 또는 기기의 상태와 관련된 중요한 정보를 전달하며 종종 피드백을 요청합니다. 경고는 제목, 선택적 메시지, 하나 이상의 버튼 및 입력을 수집하기 위한 선택적 텍스트 필드로 구성됩니다. 이러한 구성 가능한 요소를 떠나서 경고의 시각적 모양은 정적이며 사용자 정의 할 수 없습니다.

Minimize alerts. Alerts disrupt the user experience and should only be used in important situations like confirming purchases and destructive actions (such as deletions), or notifying people about problems. The infrequency of alerts helps ensure that people take them seriously. Ensure that each alert offers critical information and useful choices.

경고를 최소화하십시오. 경고는 사용자 환경을 방해하며 구매 및 파괴적인 행동 (예 : 삭제)을 확인하거나 문제를 사람들에게 알리는 것과 같은 중요한 상황에서만 사용해야합니다. 빈번하지 않은 경고는 사람들이 진지하게 받아들이도록 도와줍니다. 각 경고가 중요한 정보와 유용한 선택을 제공하는지 확인하십시오.

Test the appearance of alerts in both orientations. An alert may appear differently in landscape mode and portrait mode. Optimize alert text so it reads well in any orientation without scrolling.

두 방향 모두에서 경고 모양을 테스트하십시오. 경고는 가로 모드와 세로 모드에서 다르게 나타날 수 있습니다. 스크롤없이 모든 방향에서 잘 읽도록 경고 텍스트를 최적화하십시오.

For developer guidance, see UIAlertController.

Alert Titles and Messages

Write short, descriptive, multiword alert titles. The less text people have to read onscreen, the better. Try to craft a title that avoids adding extra text as a message. Because single-word titles rarely provide useful information, consider asking a question or using short sentences. Whenever possible, keep titles to a single line. Use sentence-style capitalization and appropriate punctuation for complete sentences. Don’t use ending punctuation for sentence fragments.

짧고, 서술적인 다중 단어 경고 제목을 작성하십시오. 사람들이 화면에서 읽어야 할 텍스트가 적을수록 좋습니다. 메시지로써 여분의 텍스트를 추가하는 것을 피하는 제목을 만들어보십시오. 한 단어로 된 제목이 유용한 정보를 제공하는 경우는 드물기 때문에 질문하거나 짧은 문장을 사용하는 것이 좋습니다. 가능한 한 제목을 한 줄로 유지하십시오. 완전한 문장에는 문장 스타일의 대문자와 적절한 구두법을 사용하십시오. 문장 단편에 마침표를 사용하지 마십시오.

If you must provide a message, write short, complete sentences. Try to keep messages short enough to fit on one or two lines to prevent scrolling. Use sentence-style capitalization and appropriate punctuation.

메시지를 제공해야하는 경우 짧고 완전한 문장을 작성하십시오. 스크롤을 방지하기 위해 메시지를 한두 줄에 맞게 짧게 유지하십시오. 문장 스타일의 대문자와 적절한 구두법을 사용하십시오.

Avoid sounding accusatory, judgmental, or insulting. People know that alerts notify them about problems and dangerous situations. As long as you use a friendly tone, it’s better to be negative and direct than positive and oblique. Avoid pronouns such as you, your, me, and my, which are sometimes interpreted as insulting or patronizing.

고발, 판단 또는 모욕을 피하십시오. 사람들은 경고가 문제 및 위험한 상황에 대해 알려주고 있음을 알고 있습니다. 오랫동안 친숙한 어조를 사용하는 한, 긍정적이고 완곡한 어조보다 부정적이고 직접적인 것이 더 낫습니다. 너, 네, 나, 나 같은 대명사는 피해야한다. 때로는 모욕이나 건방진걸로 해석되기도 합니다.

Avoid explaining the alert buttons. If your alert text and button titles are clear, there should be no need to explain what the buttons do. In rare cases where you must provide guidance, use the word /tap/, preserve capitalization when referencing buttons, and don’t enclose button titles in quotes.

경고 버튼을 설명하지 마십시오. 경고 텍스트와 버튼 제목이 분명하면 버튼이 무엇을하는지 설명 할 필요가 없습니다. 드물게 지침을 제공해야 하는 경우 tap라는 단어를 사용하고, 버튼를 참조할 때 대문자를 유지하며, 버튼 제목을 따옴표로 묶지 마십시오.

Alert Buttons

Generally, use two-button alerts. Two-button alerts provide an easy choice between two alternatives. Single-button alerts inform, but give no control over the situation. Alerts with three or more buttons create complexity and can require scrolling, which is a bad user experience. If you find that you need more than two choices, consider using an action sheet instead. See Action Sheets.

*일반적으로 두 버튼 경고를 사용하십시오. 두 버튼 경고는 두 가지 대안 중에서 쉬운 선택을 제공합니다. 단일 버튼 경고는 알리지만 상황을 제어하지 못합니다. 세 개 이상의 버튼이있는 경고는 복잡성을 야기하며 스크롤이 필요할 수 있습니다. 이는 사용자 경험에 좋지 않습니다. 두 가지 이상의 선택이 필요하다고 생각되면 액션 시트를 대신 사용해보십시오.

Give alert buttons succinct, logical titles. The best button titles consist of one or two words that describe the result of selecting the button. As with all button titles, use title-style capitalization and no ending punctuation. To the extent possible, use verbs and verb phrases that relate directly to the alert title and message—for example, View All, Reply, or Ignore. Use OK for simple acceptance. Avoid using Yes and No.

경고 버튼을 간결하고 논리적인 제목으로 지정하십시오. 최상의 버튼 제목은 버튼을 선택한 결과를 설명하는 하나 또는 두 개의 단어로 구성됩니다. 모든 버튼 제목과 마찬가지로 제목 스타일 대문자를 사용하고 마침표가 없습니다. 가능하면 경고 제목 및 메시지와 직접 관련된 동사를 사용하십시오 (예 : 모두보기, 회신 또는 무시). 간단한 승인을 위해 OK를 사용하십시오. 예와 아니요를 사용하지 마십시오.

Place buttons where people expect them. In general, buttons people are most likely to tap should be on the right. Cancel buttons should always be on the left.

사람들이 기대하는 장소에 버튼 배치하십시오. 일반적으로 사람들이 가장 잘 탭하는 버튼은 오른쪽에 있어야합니다. 취소 버튼은 항상 왼쪽에 있어야합니다.

Label cancellation buttons appropriately. A button that cancels an alert’s action should always be labeled Cancel.

취소 버튼에 적절하게 라벨을 붙이십시오. 경고의 액션을 취소하는 버튼은 항상 취소라고 라벨을 붙여야합니다.

Identify destructive buttons. If an alert button results in a destructive action, such as deleting content, set the button’s style to Destructive so that it gets appropriate formatting by the system. For developer guidance, see the UIAlertActionStyleDestructive constant of UIAlertAction. Additionally, provide a Cancel button so people can safely opt out of the destructive action. Make the Cancel button bold by marking it as the default button.

파괴적인 버튼을 식별하십시오 경고 버튼으로 인해 내용 삭제와 같은 파괴적인 동작이 발생하는 경우 버튼의 스타일을 파괴적으로 설정하여 시스템에서 적절한 형식을 갖도록하십시오. 또한 취소 버튼을 제공하여 사람들이 안전하게 파괴 행동을 거부 할 수 있도록하십시오. 취소 버튼을 기본 버튼으로 표시하여 굵게 만드십시오.

Allow people to cancel alerts by exiting to the Home screen. Accessing the Home screen while an alert is visible exits the app. It should also produce the same effect as tapping the Cancel button—that is, the alert is dismissed without performing any action. If your alert doesn’t have a Cancel button, consider implementing a cancel action in your code that runs when someone exits your app.

사람들이 홈 화면으로 탈출함으로써 경고를 취소하는걸 허용하십시오. 경고가 표시되는 동안 홈 화면에 액세스하면 앱을 탈출합니다. 취소 버튼을 탭하는 것과 동일한 효과를 내야합니다. 즉, 어떠한 액션 없이 경고가 해제됩니다. 경고에 취소 버튼이 없으면 누군가가 앱을 탈출 할 때 실행되는 코드에서 취소 작업을 구현하는 것을 고려해보십시오.

Alerts - Views - iOS - Human Interface Guidelines - Apple Developer

Last updated