nstudio / nativescript-camera-plus

MIT License
79 stars 50 forks source link

(iPad) Unable to get camera to fill screen #18

Closed geoffbullen closed 6 years ago

geoffbullen commented 6 years ago

Hi, great plugin. Thank you!

On an iPad (iPad pro 10.5) I am unable to fill the screen. The camera fills the entire height of the screen, but is limited in width as per this screenshot.

<StackLayout width="100%">
    <CameraPlus debug="true"
        galleryPickerMode="single" 
        showFlashIcon="true" 
        showToggleIcon="false" 
        showCaptureIcon="true" 
        showGalleryIcon="true"
        saveToGallery="false"
        confirmPhotos="true"
        (loaded)="camLoaded($event)" 
        (toggleCameraEvent)="toggleCameraEvent($event)" 
        (photoCapturedEvent)="photoCapturedEvent($event)"
        (imagesSelectedEvent)="imagesSelectedEvent($event)">
    </CameraPlus>
    </StackLayout>

Cheers...

geoffbullen commented 6 years ago

This seems to be a duplicate of 10#. Will close and watch that one...