Merge pull request #7 from davidy/master
fixed wrong orientation when camera preview starts in landscape mode
This commit is contained in:
commit
ed5c1ce95c
|
|
@ -487,6 +487,7 @@ class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate {
|
|||
validCaptureSession.startRunning()
|
||||
self._startFollowingDeviceOrientation()
|
||||
self.cameraIsSetup = true
|
||||
self._orientationChanged()
|
||||
|
||||
completition()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue