AVCapturePhotoFileDataRepresentationCustomizer
A protocol that defines the methods to implement to customize the packaging of photo data.
Declaration
protocol AVCapturePhotoFileDataRepresentationCustomizer : NSObjectProtocolMentioned in
Overview
AVCapturePhoto is a wrapper representing a photo in a file container. To flatten the photo to an NSData object to write to file, call fileDataRepresentation(). For more complex flattening operations such as replacing or stripping metadata, call fileDataRepresentation(with:) and provide a delegate for customized replacement or stripping behavior. This delegate’s methods are called synchronously before the flattening process begins.