View in English

  • Apple Developer
    • 시작하기

    시작하기 탐색

    • 개요
    • 알아보기
    • Apple Developer Program

    알림 받기

    • 최신 뉴스
    • Hello Developer
    • 플랫폼

    플랫폼 탐색

    • Apple 플랫폼
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    피처링

    • 디자인
    • 배포
    • 게임
    • 액세서리
    • 웹
    • 홈
    • CarPlay
    • 기술

    기술 탐색

    • 개요
    • Xcode
    • Swift
    • SwiftUI

    피처링

    • 손쉬운 사용
    • 앱 인텐트
    • Apple Intelligence
    • 게임
    • 머신 러닝 및 AI
    • 보안
    • Xcode Cloud
    • 커뮤니티

    커뮤니티 탐색

    • 개요
    • Apple과의 만남 이벤트
    • 커뮤니티 주도 이벤트
    • 개발자 포럼
    • 오픈 소스

    피처링

    • WWDC
    • Swift Student Challenge
    • 개발자 이야기
    • App Store 어워드
    • Apple 디자인 어워드
    • 문서

    문서 탐색

    • 문서 라이브러리
    • 기술 개요
    • 샘플 코드
    • 휴먼 인터페이스 가이드라인
    • 비디오

    릴리즈 노트

    • 피처링 업데이트
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • 다운로드

    다운로드 탐색

    • 모든 다운로드
    • 운영 체제
    • 애플리케이션
    • 디자인 리소스

    피처링

    • Xcode
    • TestFlight
    • 서체
    • SF Symbols
    • Icon Composer
    • 지원

    지원 탐색

    • 개요
    • 도움말
    • 개발자 포럼
    • 피드백 지원
    • 문의하기

    피처링

    • 계정 도움말
    • 앱 심사 지침
    • App Store Connect 도움말
    • 새로 추가될 요구 사항
    • 계약 및 지침
    • 시스템 상태
  • 빠른 링크

    • 이벤트
    • 뉴스
    • 포럼
    • 샘플 코드
    • 비디오
 

비디오

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

더 많은 비디오

  • 소개
  • 요약
  • 코드
  • 빠르게 실행되는 반응성이 뛰어난 카메라 앱 빌드하기

    완벽한 순간을 절대 놓치는 일이 없도록 즉시 실행되는 카메라 앱을 빌드하는 방법을 알아보세요. 앱 시동부터 첫 번째 미리보기 프레임까지, 전체 카메라 실행 시퀀스를 최적화하는 방법을 살펴보세요. 더 빠른 실행을 지원하는 새로운 API와 원활한 미리보기 렌더링 및 지속 가능한 성능 유지를 위한 모범 사례에 대해 알아보고 앱에서 세련된 카메라 경험을 선사해 보세요.

    챕터

    • 0:00 - Introduction
    • 2:02 - Fast Launch
    • 6:52 - Adopt deferred start
    • 15:06 - Steady preview
    • 18:04 - Sustained performance
    • 21:14 - Deterministic file writing

    리소스

    • Performance and metrics
    • AVCam: Building a camera app
      • HD 비디오
      • SD 비디오

    관련 비디오

    WWDC26

    • 고해상도 사진 촬영 기능 구현하기

    WWDC23

    • 응답성이 뛰어난 카메라 경험 만들기
  • 비디오 검색…
    • 9:14 - Automatic deferred start delegate

      import AVFoundation
      
      class DeferredStartDelegate: NSObject, AVCaptureSessionDeferredStartDelegate {
          func sessionWillRunDeferredStart(_ session: AVCaptureSession)
          {
              // This is called before deferred start begins for the deferred outputs
          }
      
          func sessionDidRunDeferredStart(_ session: AVCaptureSession)
          {
              // This is called after deferred start completes for all outputs
          }
      }
    • 9:46 - Adopt automatic deferred start

      import AVFoundation
      
      let captureSession = AVCaptureSession()
      captureSession.beginConfiguration()
      captureSession.automaticallyRunsDeferredStart = true
      
      let videoPreviewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
      videoPreviewLayer.isDeferredStartEnabled = false
      
      let photoOutput = AVCapturePhotoOutput()
      photoOutput.isDeferredStartEnabled = true
      captureSession.addOutput(photoOutput)
      
      captureSession.setDeferredStartDelegate(deferredStartDelegate, deferredStartDelegateCallbackQueue: sessionQueue)
      
      captureSession.commitConfiguration()
      captureSession.startRunning()
    • 11:30 - Adopt manual deferred start

      import AVFoundation
      
      let captureSession = AVCaptureSession()
      captureSession.beginConfiguration()
      captureSession.automaticallyRunsDeferredStart = false
      
      let videoOutput = AVCaptureVideoDataOutput()
      captureSession.addOutput(videoOutput)
      videoOutput.isDeferredStartEnabled = false
      
      let photoOutput = AVCapturePhotoOutput()
      photoOutput.isDeferredStartEnabled = true
      captureSession.addOutput(photoOutput)
      
      captureSession.setDeferredStartDelegate(deferredStartDelegate, deferredStartDelegateCallbackQueue: sessionQueue)
      
      captureSession.commitConfiguration()
      captureSession.startRunning()
    • 11:53 - Manage runDeferredStartWhenNeeded

      import AVFoundation
      import QuartzCore
      
      private var firstFramePresented = false
      guard let drawable = layer.nextDrawable()
      if (!firstFramePresented) {
          drawable.addPresentedHandler({ drawable in
              // Set up postponed UI elements
              captureSession.runDeferredStartWhenNeeded()
          })
          firstFramePresented = true
      }
    • 14:07 - Enable responsive capture

      import AVFoundation
      
      func configurePhotoOutput(for session: AVCaptureSession, device: AVCaptureDevice) {
          let photoOutput = AVCapturePhotoOutput()
      
          guard session.canAddOutput(photoOutput) else { return }
          session.addOutput(photoOutput)
      
          photoOutput.maxPhotoQualityPrioritization = .quality
          // Responsive capture lets the photo output capture immediately
          photoOutput.isResponsiveCaptureEnabled = photoOutput.isResponsiveCaptureSupported
      }
    • 20:16 - Monitor for system pressure

      import AVFoundation
      
      let captureSession = AVCaptureSession()
      let device = activeVideoInput?.device
      captureSession.beginConfiguration()
      // ...
      captureSession.commitConfiguration()
      
      guard captureSession.hardwareCost <= 1.0 else {
          print("hardwareCost \(captureSession.hardwareCost) — cannot start session. Reconfiguring.")
          setupLowCostConfiguration()
      }
      
      captureSession.startRunning()
      let systemPressureObserver = device?.observe(\.systemPressureState,
                                                     options: [.initial, .new],
                                                     changeHandler: { /* Handle state change */ })
    • 22:17 - Manage pro video storage

      import AVFoundation
      
      func configureProVideoStorage() {
          guard AVProVideoStorage.isSupported else { return }
          let storage = AVProVideoStorage.shared
          guard storage.remainingCapacity != 0 else {
              storage.openSettings()
              return
          }
      }
    • 22:43 - Adopt AVProVideoStorage for deterministic file write speeds

      import AVFoundation
      
      guard AVProVideoStorage.isSupported else { return }
      guard let pvs = AVProVideoStorage.shared else { return }
      
      // Configure and set up AVCaptureSession, AVCaptureConnections and format
      // ...
      let movieOutput = AVCaptureMovieFileOutput()
      
      guard movieOutput.isProVideoStorageSupported else { return }
      guard !pvs.isBusy else { return }
      
      let movieFileURL = FileManager.default.temporaryDirectory
                  .appendingPathComponent(UUID().uuidString)
                  .appendingPathExtension("mov")
      
      movieOutput.usesProVideoStorage = true // Also available with AVAssetWriter
      movieOutput.startRecording(to: movieFileURL, recordingDelegate: delegate)
    • 0:00 - Introduction
    • Why a fast-appearing preview frame is the single biggest factor in a camera launch feeling responsive, and what the session covers — accelerating launch, rendering best practices, and capturing the moment without missing it.

    • 2:02 - Fast Launch
    • Learn how to minimize UI overhead and explore best practices for creating and configuring AVCaptureSession to get the camera preview on screen faster.

    • 6:52 - Adopt deferred start
    • Discover the deferred start API that allows you to defer the initialization of expensive capture outputs until after the preview is running, featuring both automatic and manual modes.

    • 15:06 - Steady preview
    • Explore best practices for rendering preview frames, comparing the simplicity of AVCaptureVideoPreviewLayer against the flexibility of AVCaptureVideoDataOutput.

    • 18:04 - Sustained performance
    • Learn how to assess hardware cost and adapt to system pressure using new APIs to maintain a smooth and responsive camera experience under demanding conditions.

    • 21:14 - Deterministic file writing
    • Adopt the AVProVideoStorage API to achieve sustained high-bandwidth input/output required for high data-rate video captures like ProRes.

Developer Footer

  • 비디오
  • WWDC26
  • 빠르게 실행되는 반응성이 뛰어난 카메라 앱 빌드하기
  • 메뉴 열기 메뉴 닫기
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    메뉴 열기 메뉴 닫기
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    메뉴 열기 메뉴 닫기
    • 손쉬운 사용
    • 액세서리
    • Apple Intelligence
    • 앱 확장 프로그램
    • App Store
    • 오디오 및 비디오(영문)
    • 증강 현실
    • 디자인
    • 배포
    • 교육
    • 서체(영문)
    • 게임
    • 건강 및 피트니스
    • 앱 내 구입
    • 현지화
    • 지도 및 위치
    • 머신 러닝 및 AI
    • 오픈 소스(영문)
    • 보안
    • Safari 및 웹(영문)
    메뉴 열기 메뉴 닫기
    • 문서(영문)
    • 튜토리얼
    • 다운로드
    • 포럼(영문)
    • 비디오
    메뉴 열기 메뉴 닫기
    • 지원 문서
    • 문의하기
    • 버그 보고
    • 시스템 상태(영문)
    메뉴 열기 메뉴 닫기
    • Apple Developer
    • App Store Connect
    • 인증서, 식별자 및 프로파일(영문)
    • 피드백 지원
    메뉴 열기 메뉴 닫기
    • 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(영문)
    메뉴 열기 메뉴 닫기
    • Apple과의 만남
    • Apple Developer Center
    • App Store 어워드(영문)
    • Apple 디자인 어워드
    • Apple Developer Academy(영문)
    • WWDC
    최신 뉴스 읽기.
    Apple Developer 앱 받기.
    Copyright © 2026 Apple Inc. 모든 권리 보유.
    약관 개인정보 처리방침 계약 및 지침