What problem does it solve?
PhotoKit-based workflows for selecting photos, capturing media, and handling permissions often require boilerplate and careful coordination across SwiftUI, UIKit, and AVFoundation. This Skill consolidates patterns for PhotosPicker usage, camera capture, image loading, and privacy management into a coherent blueprint.
Core Features & Use Cases
- PhotosPicker patterns for single and multiple photo selection in SwiftUI.
- Camera capture and AVCaptureSession management including preview, focus, and permission handling.
- Image loading optimization, including downsampling and asynchronous loading guidance.
- Privacy and permission guidance for Photos and Camera with appropriate Info.plist keys.
- Example workflows combining picking, capturing, and loading media in iOS apps.
Quick Start
Use photokit to scaffold photo selection, camera capture, and media loading in a SwiftUI app.