Skip to content

Crash in configureDefaultComponents on previewLayer #188

@fruitwingscmueller

Description

@fruitwingscmueller

Hi,

I have a Testflight crash with less information for a crash within class QRCodeReader. The crash occurs when assigning videoGravity. In function configureDefaultComponents(withCaptureDevicePosition: AVCaptureDevice.Position):

Line 170: previewLayer.videoGravity = .resizeAspectFill

I do not know why or what prerequisites it needs to result in this Crash. Seems like previewLayer is not initialized.

  • Device is: iPad Air (3th Gen)
  • iOS Version: 14.0.1

Thanks for your support.
Christian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions