What problem does it solve? Building camera capture, media playback, video editing, or photo-library features on Apple platforms requires navigating AVFoundation, PhotoKit, and VideoToolbox, where permission handling, threading rules, and API selection mistakes cause crashes, hangs, and silent failures. ## Core Features & Use Cases - Camera and Microphone Capture: Configure AVCaptureSession with photo, movie, and per-frame sample-buffer outputs, including focus, exposure, torch, and SwiftUI preview integration. - Playback and Editing: Play local and streaming media with AVPlayer and AVQueuePlayer, build edits with AVMutableComposition, and export or transcode with AVAssetExportSession or AVAssetReader/Writer. - Photo Library and Hardware Codecs: Pick media with PHPickerViewController, fetch and cache assets with PhotoKit, and drop to VideoToolbox for hardware-accelerated H.264/HEVC encode and decode. - Use Case: You are building a video recorder app that captures clips, trims and merges them, generates thumbnails, and saves the result to the user's photo library with correct permission handling. ## Quick Start Use the apple-media skill to build an iOS camera screen that records video, trims the clip, and saves it to the photo library.