Closed zhhehj13 closed 1 week ago
最新版本4.5.6
ZLClipImageViewController
的权限没有设为public
,所以外界无法直接使用,可以通过下面的配置来直接调用ZLClipImageViewController
ZLPhotoConfiguration.default()
.editImageConfiguration
.tools([.clip])
.showClipDirectlyIfOnlyHasClipTool(true)
ZLEditImageViewController.showEditImageVC(
parentVC: UIViewController?,
animate: Bool = false,
image: UIImage,
editModel: ZLEditImageModel? = nil,
cancel: (() -> Void)? = nil,
completion: ((UIImage, ZLEditImageModel?) -> Void)?
)
ZLClipImageViewController控制器怎么外部无法使用啊