ZLPhotoBrowser is an iOS image picker modeled after WeChat’s gallery UX. It selects photos, videos, GIFs, and Live Photos and includes editing and cropping tools.
Overview
ZLPhotoBrowser embeds a gallery-style picker into iOS apps for choosing normal photos, videos, GIFs, and Live Photos. It supports preview and library selection modes, drag-and-drop in previews, slide selection in the album grid, and limits on counts or video duration configurable by the host app.
An integrated editor handles draw, crop, stickers, text, mosaic, filters, and brightness, contrast, and saturation adjustments. Video can be edited and cropped, and a customizable in-app camera can capture new media. The UI supports portrait and landscape, iPad multi-window, iPhone Duo, SwiftUI, pagination loading, and two framework presentation styles.
Selected items can show index badges, shadow masks for disabled assets, and a bottom strip of chosen thumbnails that users reorder by dragging. Colors, fonts, images, and dynamic light or dark styling are customizable. Many languages ship in the package, with CocoaPods, Carthage, Swift Package Manager, and manual integration paths.
For image editing only, the project points users to the separate ZLImageEditor component. Swift and Objective-C usage details are documented in the project wiki.
Key features
- Photo, video, GIF, Live Photo pick
- Drag and slide multi-select
- Image and video editors
- Custom in-app camera
- SwiftUI and iPad multi-window
- Configurable selection limits
- Localized UI strings
- Theme and asset customization
Use cases
- Chat-style media attachment flows
- Apps needing in-picker editing
- Multi-select gallery uploads
- Custom branded iOS pickers