longitachi / ZLPhotoBrowser

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

关于UI的问题,是否支持隐藏列表最后的相机拍摄按钮和添加图片按钮? #872

Closed little-dandan closed 7 months ago

little-dandan commented 7 months ago

Issue Description

Description and Steps

Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

Info

ZLPhotoBrowser version: e.g. 4.4.6 Device: e.g. iPhone 14 Pro Device version: e.g. iOS 16.0 Xcode version: e.g. Xcode 14.0

Configuration code of ZLPhotoConfiguration

   Paste your code here.
longitachi commented 7 months ago

870

添加图片按钮 showAddPhotoButton = false

longitachi commented 7 months ago

更多配置请查看ZLPhotoConfigurationZLPhotoUIConfiguration

little-dandan commented 7 months ago

谢谢你的回复,但是我没有找到如何隐藏关闭拍照按钮的!

longitachi commented 7 months ago

870 里不是回复了吗?allowTakePhotoInLibrary