Gallery icon indicating copy to clipboard operation
Gallery copied to clipboard

CameraMan.swift has a lot of deprecated methods in iOS

Open ElrB opened this issue 3 years ago • 0 comments

Hi guys, here are some of the warning alerts from Xcode: These are all in the CameraMan.swift file

'AVCaptureStillImageOutput' was deprecated in iOS 10.0: Use AVCapturePhotoOutput instead. 'devices()' was deprecated in iOS 10.0: Use AVCaptureDeviceDiscoverySession instead. 'AVCaptureStillImageOutput' was deprecated in iOS 10.0: Use AVCapturePhotoOutput instead. 'AVVideoCodecJPEG' was deprecated in iOS 11.0: renamed to 'AVVideoCodecType.jpeg' 'AVCaptureStillImageOutput' was deprecated in iOS 10.0: Use AVCapturePhotoOutput instead. 'isFlashModeSupported' was deprecated in iOS 10.0: Use AVCapturePhotoOutput's -supportedFlashModes instead. 'flashMode' was deprecated in iOS 10.0: Use AVCapturePhotoSettings.flashMode instead.

Can someone please rewrite the code in the GitHub CameraMan.swift file? Thank you.

ElrB avatar Mar 02 '22 11:03 ElrB