Merge pull request #7 from davidy/master

fixed wrong orientation when camera preview starts in landscape mode
This commit is contained in:
Natalia 2015-02-18 09:57:11 +00:00
commit ed5c1ce95c
1 changed files with 1 additions and 0 deletions

View File

@ -487,6 +487,7 @@ class CameraManager: NSObject, AVCaptureFileOutputRecordingDelegate {
validCaptureSession.startRunning()
self._startFollowingDeviceOrientation()
self.cameraIsSetup = true
self._orientationChanged()
completition()
}