Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.

Commit 79a9d00

Browse files
Apply camera rotation during view will appear to fix iPad issue
1 parent 1396bc3 commit 79a9d00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ALCameraViewController/ViewController/CameraViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ open class CameraViewController: UIViewController {
284284
cameraView.startSession()
285285
addCameraObserver()
286286
addRotateObserver()
287+
rotateCameraView()
287288

288289
if allowVolumeButtonCapture {
289290
setupVolumeControl()

0 commit comments

Comments
 (0)