Open
Description
I am a developer integrating this IMG picker to our apps. While testing on my iPhone 11, the gallery is not showing in full height. It looks like the gallery is hidden behind the bottom container. I will paste my code here.
extension FloorPlanViewController: ImagePickerDelegate {
func wrapperDidPress(_ imagePicker: ImagePickerController, images: [UIImage]) {
self.imagePickerController?.expandGalleryView()
}
func doneButtonDidPress(_ imagePicker: ImagePickerController, images: [UIImage]) {
for image in images {
self.currentPhotoUploader?.addImage(image: image)
}
self.currentPhotoUploader = nil
self.imagePickerController?.resetAssets()
self.imagePickerController?.dismiss(animated: true, completion: nil)
}
func cancelButtonDidPress(_ imagePicker: ImagePickerController) {
self.imagePickerController?.dismiss(animated: true, completion: nil)
}
}
private func initImagePicker() {
let configuration = Configuration()
configuration.recordLocation = false
configuration.collapseCollectionViewWhileShot = true
imagePickerController = ImagePickerController(configuration: configuration)
imagePickerController?.delegate = self
}
Metadata
Metadata
Assignees
Labels
No labels