photokit

Manage photo selection, camera capture, and media permissions in iOS apps.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/harshav167/build-ios-apps --skill photokit-harshav167
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photokit
Source: https://github.com/harshav167/build-ios-apps/tree/main/skills/photokit
Command: npx skills add https://github.com/harshav167/build-ios-apps --skill photokit-harshav167

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about photokit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement PhotosPicker for single and multiple photo selection in SwiftUI?

PhotosPicker in SwiftUI can be implemented using dedicated patterns for single and multiple photo selection. This Skill provides blueprints to handle photo selection workflows while maintaining clear separation between UI and media loading logic.

What's the best way to manage camera capture and AVCaptureSession permissions in iOS?

Camera capture and AVCaptureSession management requires careful coordination of preview, focus, and permission handling. This Skill provides patterns to enforce privacy requirements and manage camera permissions across SwiftUI and UIKit workflows.

How do I optimize image loading and downsampling for iOS media assets?

Image loading optimization for iOS media assets requires asynchronous loading and downsampling guidance to prevent UI blocking. This Skill consolidates patterns for efficient media loading with robust error handling and non-blocking asset retrieval.

Do I need specific Info.plist keys for Photos and Camera privacy permissions?

Yes, Photos and Camera privacy permissions require specific Info.plist keys to satisfy App Store requirements. This Skill provides privacy and permission guidance for configuring Photos and Camera access with appropriate Info.plist entries.

Can I use this photo picking and camera capture workflow with both SwiftUI and UIKit?

Yes, the photo picking and camera capture patterns apply across both SwiftUI and UIKit workflows. This Skill consolidates AVFoundation and PhotosPicker patterns into a coherent blueprint for selecting images, capturing video, and loading assets.