nstudio / nativescript-camera-plus

MIT License
79 stars 50 forks source link

Camera preview size is not proper (iOS) #165

Open Bezlepkin opened 3 years ago

Bezlepkin commented 3 years ago

Hi! Everything works fine on Android. On iOS, it is not possible to make it to the full screen.

photo_2021-07-30_09-42-52


  <GridLayout  row="0" (loaded)="onCameraContainerLoaded($event)">
    <CameraPlus class="camera-layout"  debug="true" galleryPickerMode="single" showFlashIcon="false"
      showToggleIcon="false" showCaptureIcon="false" showGalleryIcon="false" confirmSaveText="CONFIRM!"
      confirmRetakeText="RETAKE!" (loaded)="onCameraLoaded($event)" (photoCapturedEvent)="photoCapturedEvent($event)">
    </CameraPlus>
  </GridLayout>

  <LottieView *ngIf="inProgress" width="75%" [src]="src" loop="true" autoPlay="true"
    (loaded)="lottieViewLoaded($event)"></LottieView>
  </GridLayout>```