CameraMan.swift has a lot of deprecated methods in iOS
- Dominant language
- Swift
- Stars
- 1.4k
- Forks
- 271
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.