CameraEngine
CameraEngine copied to clipboard
Randomly crashes at the start.
Sometimes app crashes in handleDeviceOrientation() with the error fatal error: unexpectedly found nil while unwrapping an Optional value.
The reason I see is the previewLayer variable declared as forcely unwrapped optional.
Will try to fix and update.