Skip to content

Gallery is not showing in full height #460

Open
@Zwei-wei

Description

@Zwei-wei

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions