Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CameraMan.swift has a lot of deprecated methods in iOS #201

Open
ElrB opened this issue Mar 2, 2022 · 0 comments
Open

CameraMan.swift has a lot of deprecated methods in iOS #201

ElrB opened this issue Mar 2, 2022 · 0 comments

Comments

@ElrB
Copy link

ElrB commented Mar 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant