Implement, review, or improve photo picking, camera capture, and media handling in iOS apps using PhotoKit and AVFoundation. Use when working with…
PhotoKit Modern patterns for photo picking, camera capture, image loading, and media permissions targeting iOS 26+ with Swift 6.3. Patterns are backward-compatible to iOS 16 unless noted. See references/photokit-patterns.md for complete picker recipes and references/camera-capture.md for AVCaptureSession patterns. Contents PhotosPicker (SwiftUI, iOS 16+) Privacy and Permissions Camera Capture Basics Image Loading and Display Common Mistakes Review Checklist References PhotosPicker (SwiftUI, iOS 16+) PhotosPicker is the native SwiftUI replacement for UIImagePickerController. It runs out-of-process, requires no photo library permission for browsing, and supports single or multi-selection with media type filtering. Single Selection
don't have the plugin yet? install it then click "run inline in claude" again.