I am using the AVCam example App from Apple.
This example uses AVFoundation in order to show video on a view.
I am trying to make from the AVCam a landscape App with no luck.
When screen orientation changes the video is shown rotated on the view. Is there a way of handling this problem?
When you create your preview layer:
And the methods to manage rotations:
That worked for me.