Skip to content

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

@ElrB

Description

@ElrB

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions