photokit

Installation
SKILL.md

PhotoKit & AVFoundation Capture (iOS)

Photo-library picking, library access, and custom camera capture for a fintech iOS app (document/ID capture, receipt attachments, avatars). Grounded in Apple's PhotosUI, Photos (PhotoKit), and AVFoundation frameworks; targets the iOS 26 era.

  • Decision: need a plain image/video pick with no library permission? Use PhotosPicker (SwiftUI) or PHPickerViewController (UIKit) — both run out of process and hand back only chosen items. Need to enumerate/organize the library, observe changes, or fetch by metadata? That requires PHPhotoLibrary authorization and PhotoKit. Need live camera (KYC selfie, ID/cheque scan)? Use AVFoundation.
  • Cross-refs: OCR / barcode / MRZ / document rectangle detection on a captured frame → vision-framework; on-device image models → coreml; permission strings & privacy manifest for submission → app-store-review; if a KMP commonMain screen needs the picker, expose an expect capture interface bound to an iosMain actual → expect-actual.

Contents

Installs
4
GitHub Stars
12
First Seen
Aug 23, 2026
photokit — talissonvitorino/kmp-ios-skills