How to record landscape video in a portrait application? (Swift 2, iPhone)
问题 I need to record a landscape video inside my portrait iPhone application. Is it possible or is it blocked by any hardware limitation? Using AVCaptureVideoPreviewLayer I was able to change the preview orientation, but the video is still recorded in Portrait. Any idea is welcomed! 回答1: You should be able to set the orientation to landscape for the video recording. And set the preview layer to portrait to achieve a landscape video that is previewed in portrait. If I understand your question