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

If shot button pressed too frequently image might loss on old iPhones #471

Open
Zwei-wei opened this issue Nov 11, 2020 · 1 comment
Open

Comments

@Zwei-wei
Copy link

This is actually a feature request. Our UX stuff posted an issue about image lost on the old iPhone if press shot too quickly. So can we have something like func wrapperDidShotPress(_ imagePicker: ImagePickerController) and func wrapperDidShotFinish(_ imagePicker: ImagePickerController, image: UIImage) in delegate so we can do

func wrapperDidShotPress(_ imagePicker: ImagePickerController) {
        imagePicker.shotButton.isEnabled = false
}

func wrapperDidShotFinish(_ imagePicker: ImagePickerController, image: UIImage) {
        imagePicker.shotButton.isEnabled = true
}
@3lvis
Copy link
Collaborator

3lvis commented Nov 18, 2020

Thanks @Zwei-wei, happy to merge it if you make a PR!

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