axiom-photo-library

Manage privacy-conscious photo selection and library access in iOS apps using PHPicker and PhotosPicker.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/pradeepmouli/swift-template --skill axiom-photo-library-pradeepmouli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-photo-library
Source: https://github.com/pradeepmouli/swift-template/tree/main/.agents/skills/axiom-photo-library
Command: npx skills add https://github.com/pradeepmouli/swift-template --skill axiom-photo-library-pradeepmouli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Solves privacy-conscious photo selection and library management in iOS/macOS apps using PHPicker and PhotosPicker, including limited library handling and saving media to the camera roll.

Core Features & Use Cases

  • Provides SwiftUI PhotoPicker integration and UIKit PHPicker examples with proper privacy handling.
  • Supports limited library access flow, embedded and system pickers, and saving assets to the camera roll with minimal permissions.
  • Includes robust image loading from picker results, async operations, and library change observation to keep UI in sync.

Quick Start

Implement a SwiftUI view that uses PhotosPicker to select images and gracefully handle limited library access.

Frequently Asked Questions about axiom-photo-library

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

FAQPage Schema
How do I implement privacy-safe photo picking in a SwiftUI app?

Privacy-safe photo picking in SwiftUI is implemented using the PhotosPicker API to select images while requesting minimal permissions. This Skill provides integration examples that handle limited library access and async image loading gracefully.

What's the best way to handle limited photo library access in iOS 14+?

Handling limited photo library access in iOS 14+ involves observing library changes and using permission-minimal pickers like PHPicker. This Skill manages the limited library flow to keep your UI synchronized with selected assets.

How does async image loading work with PHPicker results in Swift?

Async image loading with PHPicker results processes selected item providers asynchronously to extract image data without blocking the main thread. This Skill includes robust loading patterns to handle picker results safely.

Can I save media to the camera roll with minimal permissions using PhotosPicker?

Yes, saving media to the camera roll with minimal permissions is supported using PhotosPicker and PHPicker. This Skill handles the permission-minimal access flow required to save assets without requesting full library authorization.

Do I need full photo library permission to use PHPicker in an iOS app?

No, full photo library permission is not required to use PHPicker in an iOS app. PHPicker operates with permission-minimal access, allowing users to select images without granting full library authorization.

Why does my SwiftUI PhotosPicker UI go out of sync with library changes?

A SwiftUI PhotosPicker UI goes out of sync when library changes are not observed properly. This Skill implements library change observation to ensure your UI stays updated when users modify their photo selection.