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

Photo.picker,点击完成后,cancel 回调也会被调用 #732

Closed
zhuscat opened this issue Sep 22, 2024 · 0 comments
Closed

Photo.picker,点击完成后,cancel 回调也会被调用 #732

zhuscat opened this issue Sep 22, 2024 · 0 comments

Comments

@zhuscat
Copy link

zhuscat commented Sep 22, 2024

    Photo.picker(
        config
    ) { result, pickerController in
        // 选择完成的回调
        // result 选择结果
        //  .photoAssets 当前选择的数据
        //  .isOriginal 是否选中了原图
        // photoPickerController 对应的照片选择控制器
    } cancel: { pickerController in
        // 取消的回调
        // photoPickerController 对应的照片选择控制器 
    }
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

1 participant