View in English

  • Apple Developer
    • Get Started

    Explore Get Started

    • Overview
    • Learn
    • Apple Developer Program

    Stay Updated

    • Latest News
    • Hello Developer
    • Platforms

    Explore Platforms

    • Apple Platforms
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    Featured

    • Design
    • Distribution
    • Games
    • Accessories
    • Web
    • Home
    • CarPlay
    • Technologies

    Explore Technologies

    • Overview
    • Xcode
    • Swift
    • SwiftUI

    Featured

    • Accessibility
    • App Intents
    • Apple Intelligence
    • Games
    • Machine Learning & AI
    • Security
    • Xcode Cloud
    • Community

    Explore Community

    • Overview
    • Meet with Apple events
    • Community-driven events
    • Developer Forums
    • Open Source

    Featured

    • WWDC
    • Swift Student Challenge
    • Developer Stories
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Centers
    • Documentation

    Explore Documentation

    • Documentation Library
    • Technology Overviews
    • Sample Code
    • Human Interface Guidelines
    • Videos

    Release Notes

    • Featured Updates
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • Downloads

    Explore Downloads

    • All Downloads
    • Operating Systems
    • Applications
    • Design Resources

    Featured

    • Xcode
    • TestFlight
    • Fonts
    • SF Symbols
    • Icon Composer
    • Support

    Explore Support

    • Overview
    • Help Guides
    • Developer Forums
    • Feedback Assistant
    • Contact Us

    Featured

    • Account Help
    • App Review Guidelines
    • App Store Connect Help
    • Upcoming Requirements
    • Agreements and Guidelines
    • System Status
  • Quick Links

    • Events
    • News
    • Forums
    • Sample Code
    • Videos
 

Videos

Abrir menú Cerrar menú
  • Colecciones
  • Todos los videos
  • Información

Más videos

  • Información
  • Código
  • Streamline your App Clip

    App Clips are best when they provide an “in the moment” experience for people using them, like ordering your favorite refreshing beverage or paying for parking. We'll share guidelines and best practices for building focused and consistent App Clips, show you how to streamline transaction experiences by taking advantage of technologies like App Clip notifications and location confirmation, and explore how you can help people move from your App Clip over to your full app.

    To get the most out of this session, we recommend first watching “Explore App Clips” and “Configure and link your App Clips.”

    Recursos

    • App Clips
    • Responding to invocations
    • Fruta: Building a feature-rich app with SwiftUI
    • Learn more about creating app clips
    • Choosing the right functionality for your App Clip
      • Video HD
      • Video SD

    Videos relacionados

    WWDC20

    • Build trust through better privacy
    • Configure and link your App Clips
    • Create App Clips for other businesses
    • Design great App Clips
    • Explore App Clips
    • One-tap account security upgrades
    • What’s new with in-app purchase
  • Buscar este video…
    • 7:53 - Confirm a physical code's location.

      import AppClip
      
      guard let payload = userActivity.appClipActivationPayload else {
          return
      }
      
      let region = CLCircularRegion(center: CLLocationCoordinate2D(latitude: 37.3298193,        
          longitude: -122.0071671), radius: 100, identifier: "apple_park")
      
      payload.confirmAcquired(in: region) { (inRegion, error) in
      
      }
    • 9:24 - Query if user has granted app clip notification on app clip card.

      import UserNotifications
      
      let center = UNUserNotificationCenter.current()
      
      center.getNotificationSettings { (settings) in
         if settings.authorizationStatus == .ephemeral {
              // User has already granted ephemeral notification.
          }
      
      }
    • 10:49 - Embed SKOverlay to your app clip

      import SwiftUI
          import StoreKit
      
          struct ContentView : View {
              @State private var finishedPaymentFlow = false
      
              var body: some View {
                  NavigationView {
                      CheckoutView($finishedPaymentFlow)
                  }
                  .appStoreOverlay(isPresented: $finishedPaymentFlow) {
                      SKOverlay.AppClipConfiguration(position: .bottom)
                  }
              }
          }
    • 11:32 - Save user ID in app clip's secure app group.

      // Automatically log in with Sign in with Apple
      import AuthenticationServices
      
      SignInWithAppleButton(.signUp, onRequest: { _ in
      }, onCompletion: { result in
          switch result {
          case .success(let authorization):
              guard let secureAppGroupURL = 
                  FileManager.default.containerURL(forSecurityApplicationGroupIdentifier:
                      "group.com.example.apple-samplecode.fruta")
                  else { return };
              guard let credential = authorization.credential as? ASAuthorizationAppleIDCredential 
                  else { return }
              save(userID: credential.user, in: secureAppGroupURL)
          case .failure(let error):
              print(error)
         }
      })
    • 11:55 - Automatically sign in users to your app if they have signed into your app clip.

      import AuthenticationServices
      
      let provider = ASAuthorizationAppleIDProvider()
      guard let secureAppGroupURL =
          FileManager.default.containerURL(forSecurityApplicationGroupIdentifier:   
              "group.com.example.apple-samplecode.fruta")
          else { return };
      let user = readUserID(in: secureAppGroupURL)
      provider.getCredentialState(forUserID: user) { state, error in
          if state == .authorized {
             loadFavoriteSmoothies(userID: user)
         }
      }

Developer Footer

  • Videos
  • WWDC20
  • Streamline your App Clip
  • Open Menu Close Menu
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store
    Open Menu Close Menu
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • Icon Composer
    • SF Symbols
    Open Menu Close Menu
    • Accessibility
    • Accessories
    • Apple Intelligence
    • Audio & Video
    • Augmented Reality
    • Business
    • Design
    • Distribution
    • Education
    • Games
    • Health & Fitness
    • In-App Purchase
    • Localization
    • Maps & Location
    • Machine Learning & AI
    • Security
    • Safari & Web
    Open Menu Close Menu
    • Documentation
    • Downloads
    • Sample Code
    • Videos
    Open Menu Close Menu
    • Help Guides & Articles
    • Contact Us
    • Forums
    • Feedback & Bug Reporting
    • System Status
    Open Menu Close Menu
    • Apple Developer
    • App Store Connect
    • Certificates, IDs, & Profiles
    • Feedback Assistant
    Open Menu Close Menu
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program
    • Mini Apps Partner Program
    • News Partner Program
    • Video Partner Program
    • Security Bounty Program
    • Security Research Device Program
    Open Menu Close Menu
    • Meet with Apple
    • Apple Developer Centers
    • App Store Awards
    • Apple Design Awards
    • Apple Developer Academies
    • WWDC
    Read the latest news.
    Get the Apple Developer app.
    Copyright © 2026 Apple Inc. All rights reserved.
    Terms of Use Privacy Policy Agreements and Guidelines