View in English

  • 메뉴 열기 메뉴 닫기
  • Apple Developer
검색
검색 닫기
  • Apple Developer
  • 뉴스
  • 둘러보기
  • 디자인
  • 개발
  • 배포
  • 지원
  • 계정
페이지에서만 검색

빠른 링크

5 빠른 링크

비디오

메뉴 열기 메뉴 닫기
  • 컬렉션
  • 주제
  • 전체 비디오
  • 소개

더 많은 비디오

스트리밍은 대부분의 브라우저와
Developer 앱에서 사용할 수 있습니다.

  • 소개
  • 요약
  • 자막 전문
  • 대화형 스니펫 설계하기

    스니펫은 앱 인텐트에서 호출된 콤팩트한 뷰로, 앱에서 정보를 표시합니다. 이제 스니펫을 사용하면 인텐트의 일환으로 추가적인 상호작용을 제공하는 버튼과 마음 챙기기 정보를 포함하여 앱이 Siri, Spotlight, 단축어 앱에 훨씬 더 많은 기능을 제공할 수 있습니다. 이 세션에서는 레이아웃, 타이포그래피, 상호작용, 인텐트 유형에 대한 지침을 포함한 스니펫 설계에 대한 모범 사례를 확인할 수 있습니다.

    챕터

    • 0:00 - Introduction
    • 1:30 - Appearance
    • 3:25 - Interaction
    • 4:49 - Types

    리소스

    • Displaying static and interactive snippets
      • HD 비디오
      • SD 비디오
  • 비디오 검색…

    Hi my name is Ray and I’m a designer on the Apple Design Team. Today, you’ll learn about designing interactive snippets.

    Interactive snippets are compact views displayed by App Intents.

    They show updated information and offer quick actions directly from your app.

    Snippets can appear from anywhere App Intents are supported.

    This includes Spotlight, Siri, and the Shortcuts app. This integration expands your app’s reach and utility in the system.

    Snippets always appears clearly at the top of the screen, overlaying other content. This makes them useful without taking people out of their context. They remain until confirming, canceling, or swiping away.

    This makes snippets a great way to surface simple, routine tasks and information from your app.

    Snippets feature rich visual layouts that can reflect your app's unique identity. Now they also support elements like buttons and display updated information, adding a new level of interactivity to App Intents.

    With that, we’ll start by discussing the appearance of your snippet’s content and layout.

    Then, we’ll learn how to make concise and useful interactions.

    Finally, we’ll cover how to use different snippet types, including results and confirmations.

    Snippets are designed with App Intents for quick, in-the-moment experiences, so it’s important for the content to be easy to read and understand. A key aspect to making the snippet glanceable is type size. Text in snippets are larger than system defaults. Larger type draws attention to the most important information in the moment. Make sure to provide enough space between elements to avoid cluttering the layout.

    When arranging content in snippets, keep consistent margins for the content around the view to make the layout clear. This keeps the snippet organized, allowing people to focus on what matters. You can use the ContainerRelativeShape API to ensure these margins are responsive and adapt correctly across different platforms and screen sizes.

    The use of larger text also means limited space. Avoid including content past 340 points in height, which will require scrolling and introduce unexpected friction. Instead, keep the content concise with only the most important information.

    If people might need more information, your snippet can link to the relevant view in your app to show everything they need.

    When designing experiences that appear above other content, vibrant backgrounds based on your app's visual identity can help your snippet stand out. However, sometimes this can make content difficult to read. It’s especially important to check for contrast when the snippet is viewed from a distance, going beyond standard contrast ratios. If the content is hard to read, try increasing the contrast between the content in the layout and the background. This will help keep the snippet clear, even when using vibrant backgrounds.

    So that’s how to make your snippet easy to read and understand.

    Next, let’s talk about interaction. Interaction makes snippets more stateful and actionable.

    This means you can incorporate buttons, allowing people to perform simple and relevant actions directly when they use the Intent. Snippets can also show updated data, reflecting the latest information from your app.

    To learn how to use interactivity, let’s look at this example of a water-tracking intent. By adding a simple button to add water, the information is more actionable while maintaining a lightweight experience.

    The data is updated with a scale and blur. This provides clear visual feedback for the action.

    By updating the data within the snippet itself to confirm that the action was successful, people can build trust in your App Intent for their routines. Your snippet can also include multiple buttons and updated pieces of content at the same time.

    For example, an equalizer snippet can show updated audio settings while providing a few different presets to choose from in the moment. Make sure your snippet offers clear, relevant actions to supplement the main task.

    Even without interactivity, snippets can animate in the latest information from your app.

    Now let’s talk about snippet types. There are two types of snippets: results and confirmations. Result snippets present information that’s an outcome of a confirmation or doesn’t require further action. Because there are no follow-up tasks or decisions needed from this snippet, the only button at the bottom of the view is “Done”.

    Result types are great for snippets such as checking on the status of an order. Next is confirmation snippets. Use confirmations when the intent needs an action before it can show the result. For example, let’s take a look at this coffee-ordering intent. Although there are buttons to change the amount of espresso, the snippet is a confirmation type because the coffee order cannot be placed until people take action. The action verb in the button makes it clear what’s next, such as “Order”.

    The verb in the confirmation can be changed to any of these pre-written options, or you can write your own if these don’t fit the intent.

    After confirming the order, such as the latte with 2 shots of espresso, the result snippet then shows the outcome of that choice. This pattern helps people understand they’ve started an intent and then see it completed.

    Now let's talk about when to show dialog: Dialog is what Siri speaks for the App Intent. It is essential for voice-first interactions. For example, if someone is using their AirPods and not looking at their screen, they can still hear the dialog from a result or reply to a confirmation.

    Although the snippet can appear with dialog, challenge yourself to make your snippet understandable on its own, even if the dialog isn't shown or heard. The snippet should clearly communicate the purpose of the intent without relying on dialog. This helps remove redundancy and makes the snippet more intuitive.

    Use confirmations and results to ask for action or show an outcome. Let’s wrap with what we learned, and what’s next. Design lightweight, routine snippets using a glanceable appearance, simple interactions, and the right snippet types.

    To learn more about what’s new with building app intents for Shortcuts and Spotlight, check out “Develop for shortcuts and spotlight with app intents,” and “Explore advances in app intents.” We can’t wait to see your snippets! Thank you!

    • 0:00 - Introduction
    • Snippets are compact views, which appear in Spotlight, Siri, and the Shortcuts app. They are made with App Intents, and display updated information and allow people to perform quick actions directly from the snippet without leaving their current context.

    • 1:30 - Appearance
    • Snippets are designed for quick, in-the-moment use, so their content must be clear and concise. To achieve this, a larger type size is used to draw attention to important information, and ample spacing is employed to avoid clutter. Make sure to establish a consistent margin around content, and create layouts that adapt to different platforms and screen sizes. Due to limited space, keep content short to prevent scrolling. If more information is needed, snippets can link to relevant app views. Vibrant backgrounds can make snippets stand out but you must use them carefully with high contrast to ensure readability, especially from a distance.

    • 3:25 - Interaction
    • Interaction enhances snippets by making them stateful and actionable. This allows people to perform simple actions directly within the snippet, with visual feedback confirming the action. Even without interactivity, snippets can update in real time and use animations to bring attention to the latest information.

    • 4:49 - Types
    • There are two main types of snippets: results and confirmations. Result snippets display information that doesn't require further action, such as order status updates, and only include a "Done" button. Confirmation snippets present information that needs user action before a result can be shown. These snippets feature action verbs, and can be used for a variety of intents that relate to specific actions.

Developer Footer

  • 비디오
  • WWDC25
  • 대화형 스니펫 설계하기
  • 메뉴 열기 메뉴 닫기
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    메뉴 열기 메뉴 닫기
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    메뉴 열기 메뉴 닫기
    • 손쉬운 사용
    • 액세서리
    • 앱 확장 프로그램
    • App Store
    • 오디오 및 비디오(영문)
    • 증강 현실
    • 디자인
    • 배포
    • 교육
    • 서체(영문)
    • 게임
    • 건강 및 피트니스
    • 앱 내 구입
    • 현지화
    • 지도 및 위치
    • 머신 러닝
    • 오픈 소스(영문)
    • 보안
    • Safari 및 웹(영문)
    메뉴 열기 메뉴 닫기
    • 문서(영문)
    • 튜토리얼
    • 다운로드(영문)
    • 포럼(영문)
    • 비디오
    메뉴 열기 메뉴 닫기
    • 지원 문서
    • 문의하기
    • 버그 보고
    • 시스템 상태(영문)
    메뉴 열기 메뉴 닫기
    • Apple Developer
    • App Store Connect
    • 인증서, 식별자 및 프로파일(영문)
    • 피드백 지원
    메뉴 열기 메뉴 닫기
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program(영문)
    • News Partner Program(영문)
    • Video Partner Program(영문)
    • Security Bounty Program(영문)
    • Security Research Device Program(영문)
    메뉴 열기 메뉴 닫기
    • Apple과의 만남
    • Apple Developer Center
    • App Store 어워드(영문)
    • Apple 디자인 어워드
    • Apple Developer Academy(영문)
    • WWDC
    Apple Developer 앱 받기
    Copyright © 2025 Apple Inc. 모든 권리 보유.
    약관 개인정보 처리방침 계약 및 지침