4.4.9 (2024-02-02)
- Support for setting the initial index of the first image.
- Define the text for the "Done" button on different screens with different keys to facilitate customizing the text.
4.4.8.2 - 4.4.8 Patch (2023-12-05)
- Fix the bug where the camera does not disappear when clicking cancel in the system camera. #879
4.4.8.1 - 4.4.8 Patch (2023-11-27)
4.4.8 (2023-11-23)
- Adapt to iOS 17, replace
UIGraphicsBeginImageContextWithOptions
withUIGraphicsImageRenderer
.
- Fix the bug in
ZLImagePreviewController
where videos cannot be played. #875
4.4.7 (2023-11-17)
- Enhancing the drawing tool with an eraser function.
- Display the total size of selected photos when the full image button is selected.
- Fix a bug where the video's start time is incorrect when cropping the video. #793
4.4.6 (2023-10-20)
- Supports setting whether the serial number is displayed on the selection button or not.
- Add scroll to bottom button on Gallery picker. #860 @patryk-sredzinski
- In the image editor, all operations support undo and redo. #861
- Dutch support added.
- Supports setting the default font for text stickers.
- Optimize the drop-down return effect of the preview interface.
- Optimize screen rotation experience.
- Fix the bug that text stickers are not displayed when typing in Arabic. ZLImageEditor #48
4.4.5 (2023-09-14)
- Can set whether maintain shadow background during photo clipping. #851
- When there are too many photos, the album may crash when opened. #684
- Crash on simulator version 14.0.1. #849
- In the image editor where the sticker position was incorrect after the image was rotated.
4.4.4 (2023-08-25)
- Support downloading video data from iCloud before selecting a video.
- Makes the drawn curves smoother when editing images.
- Fix a bug that may fail to save videos stored on iCloud.
4.4.3.2 - 4.4.3 Patch (2023-07-26)
- Disable TextView when user ends editing.
4.4.3.1 - 4.4.3 Patch (2023-07-26)
- Delete some time-consuming codes to improve the image loading speed of the thumbnail interface.
4.4.3 (2023-07-24)
- Support to limit the data size of the video.
- Add two blocks, called when asset is selected and deselected.
- Support setting video codec type in custom camera. #831
- Text stickers support display background color.
4.4.2 (2023-06-08)
- Preserve the alpha channel of the edited image. #818
- Fix a crash caused by UI modification in a sub-thread. #821
4.4.1 (2023-04-25)
- Adapt to RTL.
- Fix the problem that the image editor does not work properly when the scale of the picture is not 1.
- Fixed some UI display issue in the image preview interface. #812
4.4.0 (2023-03-28)
- Limit the maximum number of frames of GIF images to avoid crashes caused by loading too many frames of GIFs, and provide a series of blocks to support custom implementation of GIF image playback.
- Modify the UI effect of text input in the image editor.
- Support set the default camera position.
4.3.9 (2023-02-17)
- Support for customizing the item spacing, row spacing, and column count of the thumbnail view controller.
- Moves the camera configuration-related properties from ZLPhotoConfiguration to ZLCameraConfiguration.
- Update the UI style of camera interface.
- Support callback directly after taking picture.
- Increase the maximum zoom ratio of stickers.
4.3.8 (2022-12-13)
- Support direct callback after selecting thumbnail.
- Add horizontal adjust slider.
- Fix the bug of wrong size when merging videos. #788
- Hide redo button when filtering or color adjusting.
4.3.7 (2022-09-28)
- Modify the parameter type of
selectImageBlock
and useZLResultModel
for callback. DeleteshouldAnialysisAsset
property. - Photo editor adapts to iPad.
- Arabic supported. @LastSoul
- Support redo in graffiti and mosaic tools.
- Support for modifying the tint color of the image editor icon.
- Fix the bug of getting the wrong version of the video when editing the video.
4.3.6 (2022-09-06)
- Provide a method to save the PHAsset to local.
- Updated the method of parsing GIF.#752
- Fixed crash in pop interactive transition.#753
4.3.5 (2022-07-07)
- Support custom alert style.
- Improve the experience of image editor.
4.3.4 (2022-06-27)
- Fix a bug of the image editor.
4.3.3 (2022-06-21)
- Adjust loading progress hud style to make it prettier.
- Add wrapper for ZLPhotoBrowser compatible types.
- Support for requesting original images when 'allowSelectOriginal = false'.
4.3.2 (2022-05-25)
- Add Tolerance in Video Editing.
- Format code style.
- Fix some bugs when iOS14 album permissions are limited.
4.3.1 - 4.3.0 Patch (2022-04-28)
- Remove deprecated properties.
- Moved some UI related properties to ZLPhotoUIConfiguration.
- Add ZLEnlargeButton class instead of extending UIControl to enlarge button click area.
- Add fade animation when taking photos.
4.3.0 - Beta (2022-04-19)
- Turkish supported.#712
- Separate UI-related properties such as color, text, font, and image from ZLPhotoConfiguration and put them in ZLPhotoUIConfiguration.
- Change 'ZLPhotoThemeColorDeploy' to 'ZLPhotoColorConfiguration'.
- Add some properties to edit configuration to support Objective-C.
- Add some customize color properties.
- Add long press callback in ZLImagePreviewController.
- Add property to allow user to do something before select photo result callback.
4.2.5 (2022-03-21)
- Fix the bug of failing to archive with Xcode 13.3.#699
4.2.4 (2022-03-14)
- Fixes the bug when select the original photo in the preview.
4.2.3 (2022-03-07)
- Done button title color can be defined separately.
4.2.2 (2022-01-13)
- Support Spanish and Portuguese.#677
- Fix the crash when UIAlertController is displayed on iPad.
4.2.1 (2021-12-22)
- Support adjusting the brightness and contrast and saturation of an image.#673
- Support Indonesian.
- Add ZLEditImageConfiguration class to configuration the image editor.
- Crash when calling showPhotoLibrary in UISplitViewController.#671
4.2.0 (2021-11-24)
- Add chained calls.
- Optmize the custom camera code.
- Add image style of cancel button.
- Selected video duplicates after editing mode.#655
- Unable to deselect photos under certain conditions.#659
4.1.9 (2021-09-27)
- Remove CallKit because it resulted in rejection of app review.#650
4.1.8 (2021-09-18)
- Support crop round image.
- Show an alert to prompt that app cannot access the microphone.#643
- Wrap to display when the text is too long.
- The http header of the network video can be configured.#642
- Improve the judgment logic of Live Photo.#648
- Edit the image directly after taking the photo.
- Camera cannot turning on while calling.#641
4.1.7 (2021-07-30)
- Add a property to control whether to display the selection button animation when selecting.
- Separate the colors shared by album list interface and perview interface.
- Add a cancel block in the camera view controller.
- Support export video.
- Modify some force cast.#629
4.1.6 (2021-05-26)
- Add ZLCameraConfiguration class to deploy camera.
- Call select image block after dismiss.
- Optimizing the method of processing images.
- UI frame is incorrect when preview the long image. #610
4.1.5 (2021-04-13)
- Provide a method to reset the configuration.
- Cancel the image request when operation is cancelled.
4.1.4 (2021-03-09)
- In the iOS14 photo limit authority, show WeChat-style “go to setting” tips view.
- Support customize animation duration for select button.
- Sometimes gif is not playing.
4.1.3 (2021-02-22)
- Add a callback after closing the framework's no authority alert.
- Can control whether to show the status bar when previewing photos.
- Can separately control whether to display the selection button and bottom view in ZLImagePreviewController.#587
4.1.2 (2020-12-31)
- When the slide select is active, it will auto scroll like system library.
- Show edit tag in thumbnail interface.
- Add progress when loading iCloud video.
- Can crop the video directly after select thumbnail in non-mixed selection mode.
- The Image crop interface UI frame is incorrect when enter from landscape.#558
- The navigation view height is incorrect in iOS 10.x.#561
4.1.1 (2020-11-25)
- Fix a crash when using zoom to preview local images and network images.#556
4.1.0 (2020-11-21)
- Image editor add text sticker and image sticker feature.#552
- Customizable order of editing image tools.
- Can set the maximum and minimum number of choices for the video.
- Pinch to adjust zoom factor of the custom camera.
- Long press to save the local image and network image.
- iOS14 limited mode, change the way to select more photos.#548
- Fix the bug that will crash when has request failed images.#549
4.0.9 (2020-10-29)
- Support languages of more countries (French, German, Russian, Vietnamese, Korean, Malay, Italian).
- Support iOS14 limited authority.
- Provides the ability to preview PHAsset, local images and videos, network images and videos together.
- Optimize some UI effects.
- Support show image crop vc directly.
- Fixed the bug that the selected index is displayed in the video cell after recording the video.#546
4.0.8 (2020-10-10)
- Add filter to image editor. #530
4.0.7 (2020-09-28)
- Image editor support crop ratios. #524
- Custom camera supports switching camera during recording. #521
- Can show border color in selected cell.
- Whether to allow preview of large images.
- Whether to allow preview of selected photos.
- Optimize the front camera to take pictures and video mirror flip issues.
- Some toast‘s show condition was wrong.
- Cannot edit when the maximum number of choices is reached.
4.0.5 (2020-09-20)
- iOS14 limited authority supported. #517
- Optimize picture preview display.
- Fix bug of hud. #518
4.0.4 (2020-09-13)
- Record the editing status of the image, and can continue the last editing.
- Add a property to control whether it is allowed to take photos.#512
- Optimize the method of fetch photos in descending order. #145
- Compatible
FDFullscreenPopGesture
. #510 - Add
@objc
mark to the call back of custom camera. #513 - Fix in
embedAlbumList
style, albums not reload after take a photo. - Fix
statusBarStyle
is invalide. - Fix the mask of can't be selected cells not showing.
4.0.2 (2020-09-08)
- 新增框架样式设置(新增一种仿微信的样式);
- 编辑图片添加马赛克功能;
- 添加下拉返回动画;
- 自定义相机支持最短录制时间设置;
- 优化gif照片的回调,选中的gif照片将直接转换成动图回调出去;
4.0.1 (2020-09-02)
- 优化视频编辑功能;
- 增加自定义列数功能;
- 修复单选情况下点击直接进入编辑界面未跳转的bug;
- 修复拖拽选择的bug;
- 修复视频播放完成后未恢复原状的bug;
4.0.0 (2020-08-31)
- 升级为纯
Swift
编写框架,支持最低版本由iOS8
升级到了iOS10
; - 添加并增强了一些实用功能(例如图片编辑、预览界面下方小视图显示及拖拽排序等等);
- 删除一些功能(对SDWebImage的依赖,网络图片及视频的预览,force touch 等等);
3.2.0 (2020-06-05)
- 添加图片视频选择互斥功能(即只能选择1个视频或最多几张图片);
- 添加选择量达到最大值时其他cell显示遮罩功能;
- 删除
allowMixSelect
,maxVideoSelectCountInMix
,minVideoSelectCountInMix
参数;
3.1.4 (2020-04-08)
- 添加自定义相机分辨率(320240, 960540);
- 编辑视频最小允许编辑5s;
- 添加相机是否可用检测;
3.1.3 (2020-01-13)
- 修改曝光模式;
- 拍照界面显示 "轻触拍照,按住摄像" 提示;
- 增加直接调用编辑图片api;
3.1.2 (2019-10-24)
- SDWebImage 不在指定依赖版本号;
3.1.1 (2019-10-17)
- 优化进入相册速度及从相册列表进入选择界面流程;
- 选择相片时候添加progress;
3.1.0 (2019-09-26)
- 初步适配iOS13;
- 修改拍摄视频时1s以下不给保存的时间点为0.3s,即自定义相机拍摄视频时0.3s以下按拍照处理;
3.0.7 (2019-09-04)
- 网络视频播放添加进度条;
- SDWebImage依赖升级5.1.0以上版本;
- 选中图片index角标bug.#405
3.0.6 (2019-07-31)
- 添加选中图片显示index功能;
- 新增(及修改)部分颜色api,方便修改框架内部颜色;
- 修改框架默认风格为微信的风格;
- 压缩图片资源;
3.0.5 (2019-06-27)
- 预览快速选择界面文字颜色支持自定义;
- 编辑界面按钮增大;
- 解决录制视频超过10s没有声音的bug.#381
3.0.4 (2019-05-19)
- 添加视频选择最大最小个数限制;.
3.0.3 (2019-05-09)
- 依赖库SDWebImage升级为5.0.2以上;
- 支持直接调用相机;
- 解决图片浏览器关闭时取消所有sd图片请求的bug.#366
3.0.1 (2019-04-08)
- 压缩bundle内图片;
- 支持直接选择iCloud照片,并添加解析图片超时时间属性;
3.0.0 (2019-02-20)
- 支持carthage集成;
- 删除滤镜功能;
2.7.8 (2019-02-20)
- 添加iCloud图片加载进度条;
- 支持iCloud视频播放;
- 优化部分体验;
2.7.6 (2018-11-29)
- 预览大图界面支持precent情况下的下拉返回;
2.7.5 (2018-11-07)
- 编辑图片支持自定义工具类型.
2.7.4 (2018-08-16)
- 横滑大图界面添加下拉返回功能.
- 不允许录制视频时候,不请求麦克风权限.#299
2.7.3 (2018-07-11)
2.7.2 (2018-07-04)
- merge request #276
2.7.1 (2018-06-20)
- 可自定义导航返回按钮图片
- 解决录制视频大于最大选择时长时自动选择的bug.#264
2.7.0 (2018-06-03)
- 所有图片资源加上前缀
2.6.9 (2018-05-11)
- 重构图片编辑界面,添加滤镜功能
2.6.7 (2018-05-03)
- 优化视频编辑界面,极大减少进入时的等待时间. #234
2.6.6 (2018-04-21)
- 新增隐藏裁剪图片界面比例工具条功能.
- 解决iOS11之前预览网络视频crash的bug. #216
2.6.5 (2018-03-31)
- 新增隐藏"已隐藏"照片及相册的功能.
- 优化预览网络图片/视频时根据url后缀判断的类型方式. #221
2.6.4 (2018-01-17)
- 优化部分代码,提升性能.
- 解决无权限视图中右上角返回按钮设置颜色无效的bug.
- 解决放大后继续滑动图片导致缩放比例不正确的bug. #181
- 解决当 ZLPhotoActionSheet 对象为类属性时通过特定操作出现bug及显示的问题. #184
- 解决iOS8系统下,保存编辑视频出错的bug. #185
2.6.3 (2018-01-10)
- 新增自定义多语言文本功能.
- 新增预览网络视频功能.
- 解决最大选择数为1时候,设置是否显示选择按钮无效的问题.
- 解决不允许选择照片,但允许选择及拍摄视频时,相册内部拍照按钮不显示的bug. #175
2.6.2 (2018-01-03)
- 新增编辑图片后可选是否保存新图片参数.
- 添加取消选择图片回调.
- 优化编辑图片时候的旋转操作,避免了快速连续点击时导致图片裁剪区域显示错误的问题.
2.6.1 (2017-12-26)
- 新增导出视频添加粒子特效功能(如下雪特效).
- 新增编辑图片时旋转图片功能.
- 优化预览界面对宽高比超大的图片的显示.
2.6.0 (2017-12-21)
- 新增调用系统相机录制视频功能.
- 支持导出指定尺寸的视频,支持导出视频添加图片水印.
- 优化部分UI显示.
2.5.5 (2017-12-13)
- 导出视频支持压缩.
- 优化视频导出格式,删除3gp格式.
2.5.4 (2017-12-05)
- 新增视频导出方法.
- 新增获取照片及视频路径的方法.
- 解决了自定义相机消失后,其他软件音乐不恢复播放的问题. #152
2.5.3 (2017-11-27)
- 拍摄视频及编辑视频支持多种格式(mov, mp4, 3gp).
- 新增相册名字等多语言,以完善手动设置语言时相册名字跟随系统的问题.
- 简化相册调用,configuration 由必传参数修改为非必传参数.
2.5.2 (2017-11-20)
- 抽取相册属性独立为
ZLPhotoConfiguration
对象. - 新增设置状态栏样式api.
- 解决预览已选择图片和网络图片时候内存泄漏的问题.
2.5.1.1 (2017-11-15)
- 解决创建相册时候获取app名字为null的bug. #141
2.5.1 (2017-11-11)
- 新增自定义相机(仿微信),开发者可选使用自定义相机或系统相机.
- 支持录制视频,可设置最大录制时长及清晰度.
- 解决裁剪比例只有一个且为1:1时候,下方比例工具条不隐藏的bug.
2.5.0.2 (2017-11-04)
- 新增自行切换框架语言api.
- 当编辑比例只有一个且为custom或1:1时候,隐藏裁剪比例工具条.
2.5.0.1 (2017-10-26)
- 提供逐个解析图片api方法,方便
shouldAnialysisAsset
为NO
时的使用. - 提供控制是否可以选择原图参数.
2.5.0 (2017-10-23)
- 新增选择后是否自动解析图片参数 shouldAnialysisAsset (针对需要选择大量图片的功能,框架一次解析大量图片时,会导致内存瞬间大幅增高,建议此时置该参数为NO,然后拿到asset后自行逐个解析).
- 修改图片压缩方式,确保原图尺寸不变.
- 解决部分关于UI的代码在子线程执行的问题. #113
- 优化
iOS11
中如果设置[[UIScrollView appearance] setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
导致内部控件上移64像素的问题. #114 - 优化一次选择多张照片,同时解析导致内存暴涨并crash的bug. #118
2.4.8~2.4.9 (2017-10-17)
- 新增预览界面拖拽选择功能.
- 支持开发者使用自定义图片资源.
- 开放导航标题颜色、底部工具栏背景色、底部按钮可交互与不可交互标题颜色的设置api.
- 解决weakify(var),strongify(var)与其他类库发生宏定义冲突的问题.
- 解决项目为状态栏隐藏,调用框架后状态栏显示的问题.
2.4.7 (2017-10-13)
- 解决多次进入相册可能导致crash的bug. #108
2.4.6 (2017-10-09)
- 新增预览网络图片长按保存至相册功能.
- 解决相册查看大图界面单机会回到第一张的bug. #103
2.4.5 (2017-09-29)
- 预览已选择图片时候增加是否为原图参数. #101
- 解决设置相册内部隐藏拍照按钮无效的bug. #102
2.4.4 (2017-09-27)
- 解决相册内部拍照按钮不显示的bug. #100
2.4.3 (2017-09-22)
- 适配 iPhone X.
- 优化启动进入相册速度.
- 预览网络图片可设置是否显示底部工具条及导航右侧按钮.
2.4.2 (2017-09-18)
- 新增视频编辑功能(仿微信).
- 优化代码,提升滑动性能及流畅度.
2.4.1 (2017-09-14)
- 新增仿iPhone相册滑动多选功能.
2.4.0 (2017-09-07)
- 新增预览网络图片及本地图片功能.
2.3.3 (2017-09-01)
- 删除废弃文件,新增已选择图片遮罩层标记功能.
2.3.1~2.3.2 (2017-08-31)
- 新增设置导航条颜色api.
- 适配横屏.
- 适配iPad,优化iPad下显示.
- 解决
iOS9
以下系统判断ForceTouch
可用性崩溃的bug.
2.2.9~2.3.0 (2017-08-18)
- 新增单选模式下选择图片后直接进入编辑界面功能.
- 开放设置图片裁剪比例api.
2.2.8 (2017-08-16)
- 优化部分显示问题.
- 扩展图片编辑功能,增加裁剪比例选项.
2.2.7 (2017-08-03)
- 扩大选择按钮点击区域.
- 删除多余图片及xib文件.
- 优化性能.
2.2.6 (2017-07-26)
- 新增混合选择image、gif、livephoto、video类型.
- 支持video、gif、livephoto类型的多选.
- 支持控制video最大选择时长.
- 废弃部分api,考虑不给使用者由于更新带来的错误,暂未删除废弃文件及api,后续更新版本会删除.
2.2.5 (2017-07-03)
- 修复
ForceTouch
点击内部拍照按钮时闪退的bug.
2.2.4 (2017-06-28)
- 去除原图时视频字节显示.
- 优化图片加载显示方式.
- 优化
ForceTouch
造成的内存泄漏的问题.
2.2.3 (2017-06-23)
- 增加图片编辑裁剪功能.
- 新增 3DTouch 预览功能.
early
- 新增 LivePhoto 选择功能.
- 新增内部相机拍照按钮实时显示相机俘获画面功能.
- 新增cell圆角弧度自定义功能.
- 支持选择视频、gif.
- 支持相册内拍照(可拍照多张).
- 支持预览确定选择的图片,并可选择修改.
- 支持预览确定选择的gif、video. ...