I'm basically after the answer to this question AVCaptureVideoPreviewLayer orientation - need landscape except in Swift.
I'm targeting iOS 8 and AVCaptureVideoPreviewLayer doesn't seem to have a setVideoOrientation function.
How should I be detecting that the orientation has changed, and rotating AVCaptureVideoPreviewLayer appropriately?