hyperoslo / ImagePicker

:camera: Reinventing the way ImagePicker works.
Other
4.86k stars 676 forks source link

doneButtonDidPress not working #488

Closed Blockwallet closed 2 years ago

Blockwallet commented 2 years ago

doneButtonDidPress is not returning selected image.

    let config = ImagePickerConfiguration()
    config.allowMultiplePhotoSelection = false
    let imagePicker = ImagePickerController(configuration: config)
    imagePicker.delegate = self
    imagePicker.imageLimit = 1
    imagePicker.modalPresentationStyle = .fullScreen
    self.parentContainerViewController()?.present(imagePicker, animated: true, completion: nil)