Skip to content

iOS Camera is not fullscreen #819

@ranolution

Description

@ranolution

In the camera plugin for iOS it does not account for iPads and always displays the camera as a popover. It needs to be fullscreen for iOS standards. As a temporary fix to the problem I have commented out these two lines in the getPhoto function

//imagePicker!.popoverPresentationController?.delegate = self //self.setCenteredPopover(self.imagePicker!)

And then in the showCamera function I have added this line after the source type is set to camera.

imagePicker.modalPresentationStyle = .fullScreen

I am unsure if this fix break anything for other platforms or use cases as I am developing solely for iPad.

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