photosui-docs

Reference PhotosUI APIs for SwiftUI photo picking and Live Photo viewing.

299|16|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/vabole/apple-skills --skill photosui-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photosui-docs
Source: https://github.com/vabole/apple-skills/tree/main/skills/photosui
Command: npx skills add https://github.com/vabole/apple-skills --skill photosui-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables developers to quickly locate and understand PhotosUI APIs for photo picking and Live Photo display in SwiftUI and UIKit contexts, reducing lookup time during feature implementation.

Core Features & Use Cases

  • Centralized reference for PhotosUI components including PhotosPicker and PHLivePhotoView.
  • Practical usage scenarios across SwiftUI and UIKit/AppKit integrations.
  • Quick navigation to related documentation and examples for common tasks like selecting images or displaying live photos.

Quick Start

Ask the assistant to show a minimal SwiftUI PhotosPicker integration to select images from the photo library.

Frequently Asked Questions about photosui-docs

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

FAQPage Schema
How do I use PhotosPicker in SwiftUI to select images from the photo library?

PhotosPicker in SwiftUI provides a native interface for photo selection. You implement it as a view modifier or button to load selected images directly into your app's state for immediate display or processing.

Can I display Live Photos in a SwiftUI app using PHLivePhotoView?

Yes, PHLivePhotoView displays Live Photos in your app. While primarily a UIKit component, it integrates with SwiftUI workflows to render the motion and sound of Live Photos captured from the photo library.

Does PhotosUI work with UIKit and AppKit workflows or is it SwiftUI only?

PhotosUI supports both SwiftUI and UIKit/AppKit workflows. The framework provides native components for SwiftUI integrations and underlying APIs for UIKit environments requiring image selection or live photo display.

What is the best way to navigate related PhotosUI documentation for photo picking tasks?

The best way to navigate PhotosUI documentation is using centralized reference links. This provides quick access to related topics, API exposure details, and practical usage patterns for common image selection tasks.

Why do I need PhotosUI APIs for image selection instead of standard file pickers?

PhotosUI APIs provide specialized access to the photo library, handling Live Photo display and metadata that standard file pickers cannot. They offer optimized image loading and native system UI for selecting photos.

Are there limitations when integrating PHLivePhotoView with SwiftUI navigation?

PHLivePhotoView is a UIKit component, so SwiftUI integration requires UIViewRepresentable wrapping. This ensures the live photo display functions correctly within SwiftUI's declarative navigation and state management.