以下の例では録画映像をLandscapeLeft
にしている。
let captureVideoLayer: AVCaptureVideoPreviewLayer =
AVCaptureVideoPreviewLayer.init(session: captureSession)
captureVideoLayer.connection.videoOrientation =
AVCaptureVideoOrientation.LandscapeLeft
ブログやっています:http://weed.nagoya