YPImagePicker is a Swift library that adds a customizable photo and video picker to iOS apps. It supports library browsing, capture, cropping, filters, and multi-select flows.
Overview
YPImagePicker brings an Instagram-like media picker into iOS applications. Developers embed it to let users choose photos and videos from the library or camera, with configuration handled through a central settings struct.
The picker covers single and multiple selection, album browsing, cropping, image filters, flash, configurable output sizes, and video trimming with cover selection. A single completion callback handles finished picks and cancel events, with helpers for common single-photo and single-video flows.
Installation is available through CocoaPods and Swift Package Manager. Apps need privacy plist entries for camera, photo library, and microphone when recording video. The interface can be tailored via native APIs for navigation colors, fonts, and wording, with many built-in localizations and optional custom strings.
Video trimming relies on the open-source PryntTrimmerView dependency. Objective-C integration is not supported. The project evolved from inspiration by Fusuma into a standalone picker focused on discoverability and extended features.
Key features
- Photo and video library browsing
- Camera capture for photos and videos
- Image cropping and filters
- Multiple media selection
- Video trimming and cover pick
- Album navigation
- Configurable output image size
- Broad UI and wording customization
Use cases
- In-app media upload flows
- Social-style photo picking
- Profile or content creation screens
- Single or multi-attachment selection