I am getting this error and i have no idea how to fix it..
WARNING: -[<AVCaptureVideoPreviewLayer: 0xad482c0> isOrientationSupported] is deprecated. Please use AVCaptureConnection's -isVideoOrientationSupported
however when I look at the apples documentation it says that it is a Mac OS function.. not IOS… so I am a bit confused… looking forward get some answers.. Thanks..
AVCaptureConnectionis available also for iOS here. You probably looked in the wrong documentation.