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 fileDataRepresentationWithCustomizer: and provide a delegate for customized replacement or stripping behavior. This delegate’s methods are called synchronously before the flattening process begins.
Generates and returns a flat data representation of the photo, using the specified replacements for some or all of its attachments.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.