longitachi / ZLPhotoBrowser

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

如何隐藏相机按钮?

little-dandan opened this issue · comments

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.
commented

/// Allow take photos in the album. Defaults to true.
/// - warning: If allowTakePhoto and allowRecordVideo are both false, it will not be displayed.
public var allowTakePhotoInLibrary: Bool {

配置都在这个类,UI配置在ZLPhotoUIConfiguration,可以自己查找下进行配置