Closed MuRanJiangXia closed 1 month ago
ZLPhotoPreviewSheet showPreview(sender: vc)
// 是否允许编辑图片 config.allowEditImage = true // 编辑裁剪 let editImageConfiguration = ZLEditImageConfiguration() editImageConfiguration.clipRatios = [.wh1x1] editImageConfiguration.tools = [.clip] editImageConfiguration.showClipDirectlyIfOnlyHasClipTool = true config.editImageConfiguration = editImageConfiguration config.editAfterSelectThumbnailImage = true
图片选择后是直接进入了 ,从外边sheet上点击拍照 没啥效果啊 直接销毁拍照页面了
加上 config.showSelectBtnWhenSingleSelect = true 这个可以了
ZLPhotoPreviewSheet showPreview(sender: vc)