We are using camera-plus plugin (3.4.0) in our app. Everything works for now, but when I tested it with iOS 15 Beta, it is throwing error: Value of type 'CGImage' has no member 'takeUnretainedValue' at the following code:
@available(iOS 11.0, *)
func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) {
if let cgImage = photo.cgImageRepresentation()?.takeUnretainedValue()
Hi,
We are using camera-plus plugin (3.4.0) in our app. Everything works for now, but when I tested it with iOS 15 Beta, it is throwing error: Value of type 'CGImage' has no member 'takeUnretainedValue' at the following code:
@available(iOS 11.0, *) func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?) { if let cgImage = photo.cgImageRepresentation()?.takeUnretainedValue()
in pod SwiftyCam - SwiftyCamViewController (https://github.com/NathanWalker/SwiftyCam/blob/feature/swift-4.2/Source/SwiftyCamViewController.swift)
Could you please help with this.