Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能新增一个视频保存地址自定义吗 #933

Open
ZClee128 opened this issue Sep 21, 2024 · 1 comment
Open

能新增一个视频保存地址自定义吗 #933

ZClee128 opened this issue Sep 21, 2024 · 1 comment

Comments

@ZClee128
Copy link

希望可以传入自定义路径保存视频

@longitachi
Copy link
Owner

/// Save asset original data to file url. Support save image and video.
/// - Note: Asynchronously write to a local file. Calls completionHandler block on the main queue. If the asset object is in iCloud, it will be downloaded first and then written in the method. The timeout time is `ZLPhotoConfiguration.default().timeout`.
public class func saveAsset(_ asset: PHAsset, toFile fileUrl: URL, completion: @escaping ((Error?) -> Void)) {

现在就支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants