Skip to content

Commit fc70968

Browse files
committed
Bumped version to 4.5.4
1 parent 29b38ee commit fc70968

7 files changed

+32
-16
lines changed

.github/ISSUE_TEMPLATE.MD

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
66

77
#### Info
8-
ZLPhotoBrowser version: e.g. 4.5.3
8+
ZLPhotoBrowser version: e.g. 4.5.4
99
Device: e.g. iPhone 14 Pro
1010
Device version: e.g. iOS 16.0
1111
Xcode version: e.g. Xcode 14.0

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
-----
44

5+
## [4.5.4](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.4) (2024-07-05)
6+
### Add:
7+
* Support iOS18. [#909](https://github.com/longitachi/ZLPhotoBrowser/pull/909) @patryk-sredzinski
8+
* Enhance the user experience of the image cropping interface and optimize the animation effects.
9+
* Support for setting `VideoMirrored` in the custom camera. [#912](https://github.com/longitachi/ZLPhotoBrowser/issues/912)
10+
11+
### Fix:
12+
* Fix the issue where some UI elements are displayed incorrectly on phones without a notch. [#914](https://github.com/longitachi/ZLPhotoBrowser/issues/914)
13+
14+
---
15+
516
## [4.5.3](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.3) (2024-05-23)
617
### Add:
718
* Support customizing the alert for when there is no permission. [#900](https://github.com/longitachi/ZLPhotoBrowser/pull/900) @xiaoyouPrince

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
9191
### Change Log
9292
> [More logs](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
9393
```
94+
● 4.5.4
95+
Add:
96+
Support iOS18.
97+
Enhance the user experience of the image cropping interface and optimize the animation effects.
98+
Support for setting `VideoMirrored` in the custom camera.
99+
Fix:
100+
Fix the issue where some UI elements are displayed incorrectly on phones without a notch.
94101
● 4.5.3
95102
Add:
96103
Support customizing the alert for when there is no permission.
@@ -101,12 +108,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
101108
● 4.5.2
102109
Fix:
103110
Fix the bug in the image cropping interface where the image is not displayed correctly when zooming in and the crop ratio is not 0.
104-
● 4.5.1
105-
Add:
106-
Add xcprivacy file to the project.
107-
Fix:
108-
Fix the bug causing a crash when continuously switching between front and rear cameras.
109-
Fix the bug where the status bar in the album thumbnail interface sometimes does not display.
110111
...
111112
```
112113

@@ -162,7 +163,7 @@ Rebuild with --use-xcframeworks to create an xcframework bundle instead.` [Click
162163

163164
#### Swift Package Manager
164165
1. Select File > Add Packages. Enter https://github.com/longitachi/ZLPhotoBrowser.git in the "Choose Package Repository" dialog.
165-
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.3" as its earliest version.
166+
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.4" as its earliest version.
166167
3. After Xcode checking out the source and resolving the version, you can choose the "ZLPhotoBrowser" library and add it to your app target.
167168

168169
### Support

README_CN.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
102102
### 更新日志
103103
> [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
104104
```
105+
● 4.5.4
106+
Add:
107+
支持iOS18。
108+
提升图片编辑的使用体验,优化动画效果。
109+
自定义相机支持设置`VideoMirrored`。
110+
Fix:
111+
修复在非刘海屏的手机上,部分界面UI展示异常的问题。
105112
● 4.5.3
106113
Add:
107114
支持自定义无权限弹窗。
@@ -112,12 +119,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
112119
● 4.5.2
113120
Fix:
114121
修复图片裁剪界面,裁减比例不为0时,缩放图片时候,图片显示不正确的bug。
115-
● 4.5.1
116-
Add:
117-
添加xcprivacy文件。
118-
Fix:
119-
修复连续切换前后摄像头导致crash的bug。
120-
修复相册小图界面状态栏某些情况下不展示的bug。
121122
...
122123
```
123124

Sources/Edit/ZLEditImageViewController.swift

+3
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,9 @@ open class ZLEditImageViewController: UIViewController {
414414

415415
override public var prefersHomeIndicatorAutoHidden: Bool { true }
416416

417+
/// 延缓屏幕上下方通知栏弹出,避免手势冲突
418+
override public var preferredScreenEdgesDeferringSystemGestures: UIRectEdge { [.top, .bottom] }
419+
417420
override public var supportedInterfaceOrientations: UIInterfaceOrientationMask {
418421
deviceIsiPhone() ? .portrait : .all
419422
}

Sources/General/ZLPhotoBrowser.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import UIKit
2828
import Foundation
2929
import Photos
3030

31-
let version = "4.5.3"
31+
let version = "4.5.4"
3232

3333
public struct ZLPhotoBrowserWrapper<Base> {
3434
public let base: Base

ZLPhotoBrowser.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'ZLPhotoBrowser'
3-
s.version = '4.5.3'
3+
s.version = '4.5.4'
44
s.summary = 'A lightweight and pure Swift implemented library for select photos from album'
55

66
s.description = <<-DESC

0 commit comments

Comments
 (0)