longitachi /ZLPhotoBrowser

Wechat-like image picker. Support select photos, videos, gif and livePhoto. Support edit image and crop video. 微信样式的图片选择器,支持预览/相册内拍照及录视频、拖拽/滑动选择,编辑图片/视频,支持多语言国际化等功能;

★ 4,990⑂ 1,015👁 71⑃ 93● 954▤ 129
SwiftCreated 2015-12-01
+0
Daily
+0
Weekly
+5
Monthly
4,990
stars
1,015
forks
71
watchers
93
prs
954
issues
129
releases

README

!Language
)

!image

----------------------------------------

English | 简体中文

ZLPhotoBrowser is a Wechat-like image picker. Support select normal photos, videos, gif and livePhoto. Support edit image and crop video.

 Directory
 Features
 Requirements
 Usage
 Change Log
 Languages
 Installation(Support Cocoapods/Carthage/SPM)
 Support
 Demo Effect

Detailed usage of Swift and OC, please refer to Wiki.

If you only want to use the image edit feature, please move to ZLImageEditor.

 Features
- [x] Support SwiftUI.
- [x] Support iPad multi-window.
- [x] Support iPhone Duo.
- [x] Portrait and landscape.
- [x] Two framework style.
- [x] Support page loading.
- [x] Preview selection (Support drag and drop).
- [x] Library selection (Support sliding selection).
- [x] Image/Gif/LivePhoto/Video.
- [x] Customize the maximum number of previews or selection, the maximum and minimum optional duration of the video.
- [x] Customize the number of columns displayed in each row.
- [x] Image editor (Draw/Crop/Image sticker/Text sticker/Mosaic/Filter/Adjust(Brightness, Contrast and Saturation)), (Draw color can be customized; Crop ratio can be customized; Filter effect can be customized; You can choose the editing tool you want).
- [x] Video editor.
- [x] Custom camera.
- [x] Multi-language.
- [x] Selected index.
- [x] Selected/unselectable state shadow mask.
- [x] The selected photos are displayed at the bottom of the big picture interface, which can be dragged and sorted.
- [x] The camera's internal photo cell can displays the captured images of the camera.
- [x] Customize font.
- [x] The color of each part of the framework can be customized (Provide dynamic color can support light/dark mode).
- [x] Customize images.

 If you have good needs and suggestions in use, or encounter any bugs, please create an issue and I will reply in time.
 
 Requirements
|version|iOS|Xcode|
|---|---|---|
|=6.0.0|15.0|27|
| More logs

● 6.0.0
  Add:
    Adapted UI for iPhone Duo. Updated APIs to iOS 15.0.
● 5.0.0
  Add:
    Optimized UI for iPad multitasking and custom window sizes.
    Updated partial APIs for iOS 26 and iOS 27 compatibility.
    Added parameter to control whether camera dismisses when app enters background.
    Added supportLandscape attribute; enableWideCameras now defaults to true.
    Added thumbVCAllowPanToDismiss property.
    Significantly optimized sticker and doodling editing experience.
    Updated album filtering logic to display more system albums.
  Fix:
    Fixed incorrect selection limit prompt when only videos are allowed. 1048
    Fixed transparent PNG images rendered with a white background. 1045
    Fixed selection state not syncing after deselecting in preview. 1042
● 4.7.4
  Add:
    Supports editing multiple videos.
    Change the license from MIT to Apache-2.0.
...


 Languages
🇨🇳 Chinese, 🇺🇸 English, 🇯🇵 Japanese, 🇫🇷 French, 🇩🇪 German, 🇷🇺 Russian, 🇻🇳 Vietnamese, 🇰🇷 Korean, 🇲🇾 Malay, 🇮🇹 Italian, 🇮🇩 Indonesian, 🇪🇸 Spanish, 🇵🇹 Portuguese, 🇹🇷 Turki

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON