·photos-camera-media
</>

photos-camera-media

在 iOS 应用程序中实施、审查或改进照片选取、相机捕获和媒体处理。在使用 PhotosPicker、PHPickerViewController、相机捕获会话 (AVCaptureSession)、照片库访问、图像加载和显示、视频录制或媒体权限时使用。触发涉及从库中选择照片、拍照、录制视频、处理图像或处理 Swift 应用程序中的照片/相机隐私权限的任何任务。

79安装·18热度·@dpearson2699

安装

$npx skills add https://github.com/dpearson2699/swift-ios-skills --skill photos-camera-media

如何安装 photos-camera-media

通过命令行快速安装 photos-camera-media AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill photos-camera-media
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dpearson2699/swift-ios-skills。

SKILL.md

查看原文

Modern patterns for photo picking, camera capture, image loading, and media permissions targeting iOS 26+ with Swift 6.2. Patterns are backward-compatible to iOS 16 unless noted.

See references/photospicker-patterns.md for complete picker recipes and references/camera-capture.md for AVCaptureSession patterns.

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.

在 iOS 应用程序中实施、审查或改进照片选取、相机捕获和媒体处理。在使用 PhotosPicker、PHPickerViewController、相机捕获会话 (AVCaptureSession)、照片库访问、图像加载和显示、视频录制或媒体权限时使用。触发涉及从库中选择照片、拍照、录制视频、处理图像或处理 Swift 应用程序中的照片/相机隐私权限的任何任务。 来源:dpearson2699/swift-ios-skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill photos-camera-media
分类
</>开发工具
认证
收录时间
2026-03-08
更新时间
2026-03-10

Browse more skills from dpearson2699/swift-ios-skills

快速解答

什么是 photos-camera-media?

在 iOS 应用程序中实施、审查或改进照片选取、相机捕获和媒体处理。在使用 PhotosPicker、PHPickerViewController、相机捕获会话 (AVCaptureSession)、照片库访问、图像加载和显示、视频录制或媒体权限时使用。触发涉及从库中选择照片、拍照、录制视频、处理图像或处理 Swift 应用程序中的照片/相机隐私权限的任何任务。 来源:dpearson2699/swift-ios-skills。

如何安装 photos-camera-media?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dpearson2699/swift-ios-skills --skill photos-camera-media 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dpearson2699/swift-ios-skills