ImagePicker icon indicating copy to clipboard operation
ImagePicker copied to clipboard

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

Open Zwei-wei opened this issue 4 years ago • 1 comments

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
}

Zwei-wei avatar Nov 11 '20 00:11 Zwei-wei

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

3lvis avatar Nov 18 '20 19:11 3lvis