longitachi/ZLPhotoBrowser
 Watch   
 Star   
 Fork   
2 days ago
ZLPhotoBrowser

5.0.0

Add

  • Optimized UI for iPad multitasking and custom window sizes for a smoother experience.
  • Updated partial APIs for iOS 26 and iOS 27 compatibility; Demo now supports iPad multi-window.
  • Added a new parameter to control whether the camera is dismissed when the app enters the background. #1052
  • Added supportLandscape attribute to control whether landscape mode is supported. #1050
  • The default value for enableWideCameras (wide-angle lens) has been changed to true. #1050
  • Added thumbVCAllowPanToDismiss property to control whether the thumbnail interface allows swiping back from the edge.
  • Significantly optimized the sticker editing experience; text stickers now display sharper when enlarged with reduced jagged edges.
  • Optimized the doodling effect for smoother curves; improved eraser effect.
  • Updated album filtering logic to display more system albums. #1055

Fix

  • Fixed incorrect selection limit prompt when only videos are allowed to be selected. #1048
  • Fixed transparent PNG images being rendered with a white background. #1045 via #1046 @tac-han
  • Fixed selection state not syncing back to thumbnail list and preview after deselecting in preview. #1042
2026-01-23 16:25:54
ZLPhotoBrowser

4.7.4

Add:

  • Supports editing multiple videos.
  • The ZLImagePreviewController interface now includes a didDisappear callback. 1026 @HuuLiang
  • Change the license from MIT to Apache-2.0.

Fix:

  • Fixed a bug where the title color of the "Done" button in the video editing interface was incorrect. 1036 @hstdt
2025-10-17 16:31:20
ZLPhotoBrowser

4.7.3

Fix

  • Fixed the issue where the eraser position was displayed incorrectly when editing pictures. #1025
2025-09-29 17:22:07
ZLPhotoBrowser

4.7.2

Add

  • Improved video editing experience:
    • Added a shadow area mask for a clearer view of the currently selected video clip.
    • Added a feature to display the duration of the currently selected clip.
  • The ZLImagePreviewController interface supports disabling the pull-down return gesture.
  • Change the permission of ZLPhotoPreviewSheet to private.

Fix

  • Fixed a bug where the UI of the thumbnail interface might display an error when the permission is "limited".
2025-07-29 20:04:51
ZLPhotoBrowser

4.7.0.1 - Patch

Add

  • Support page loading.
  • The thumbnail interface supports edge sliding back gesture.
  • Provide a block that enables external control over whether the camera interface can be accessed.
  • Replace some deprecated APIs.
  • Support long-press gestures for more data types in ZLImagePreviewController. Support setting cover images for network videos.
  • The ZLImagePreviewController interface supports disabling the pull-down return gesture.
2025-07-22 15:33:26
ZLPhotoBrowser

4.7.0

Add

  • Support page loading.
  • The thumbnail interface supports edge sliding back gesture.
  • Provide a block that enables external control over whether the camera interface can be accessed.
  • Replace some deprecated APIs.
  • Support long-press gestures for more data types in ZLImagePreviewController. Support setting cover images for network videos.
2025-03-31 19:53:48
ZLPhotoBrowser

4.6.0.1 - Patch

Add

  • Support SwiftUI.
  • Support for locked output orientation in custom camera. #976 @tsinis
  • Optimize the playback experience of album videos and online videos.
  • Add will-capture-block for customizable capture actions. #988 @tsinis
  • Replace ZLPhotoPreviewSheet with ZLPhotoPicker. The permission of ZLPhotoPreviewSheet will be changed to private later. #996
  • Enhance the text sticker feature by adding text outline and shadow effects.

Fix

  • Fixed the bug that the time of automatically stopping recording is incorrect when clicking to record a video.
  • Fix the issue where the width and height calculations of some videos are inaccurate when previewing online videos.
2025-03-28 19:07:57
ZLPhotoBrowser

4.6.0

Add

  • Support SwiftUI.
  • Support for locked output orientation in custom camera. #976 @tsinis
  • Optimize the playback experience of album videos and online videos.
  • Add will-capture-block for customizable capture actions. #988 @tsinis
  • Replace ZLPhotoPreviewSheet with ZLPhotoPicker. The permission of ZLPhotoPreviewSheet will be changed to private later. #996
  • Enhance the text sticker feature by adding text outline and shadow effects.

Fix

  • Fixed the bug that the time of automatically stopping recording is incorrect when clicking to record a video.
  • Fix the issue where the width and height calculations of some videos are inaccurate when previewing online videos.
2025-02-18 17:02:32
ZLPhotoBrowser

4.5.8

Add

  • Add video stabilization support in custom camera. #959 @tsinis

Fix

  • Fix video recording with both torch-on and wide cameras. #960 @tsinis
  • Fixed the problem of freezing caused by calculating the frame when previewing network videos. #967
  • Fix the memory leak issue in the ZLEditImageViewController interface. #968
  • After the initial request for album permissions is denied, the permission guidance alert will no longer be displayed. #969
  • Correct eraser misalignment after image cropping. #971 @vcicis
2024-12-02 14:28:33
ZLPhotoBrowser

4.5.7

Add

  • Custom camera supports tap-to-record mode. #944 @tsinis
  • Custom camera supports wide-angle lenses on iOS 13 and above. #948 @tsinis
  • Custom camera allows adding a custom overlay view. #951 @tsinis
  • Video editing controller adds a callback block for canceling edits. #953 @tsinis
  • Added ZLImagePreviewControllerDelegate protocol to receive event callbacks in ZLImagePreviewController.