iOS Developer Library

Developer

AV Foundation Framework Reference AVMetadataItemFilter Class Reference

Options
Deployment Target:

On This Page
Language:

AVMetadataItemFilter

The AVMetadataItemFilter class is used to filter selected information from AVMetadataItem objects.

AVMetadataItemFilter instances are opaque, unmodifiable objects, created via the class metadataItemFilterForSharing method.

  • Returns an instance of an metadata filter useful for sharing assets.

    Declaration

    Swift

    class func metadataItemFilterForSharing() -> AVMetadataItemFilter

    Objective-C

    + (AVMetadataItemFilter *)metadataItemFilterForSharing

    Return Value

    An instance of an AVMetadataItemFilter.

    Discussion

    Removes user-identifying metadata items, such as location information and leaves only metadata releated to commerce or playback itself. For example: playback, copyright, and commercial-related metadata, such as a purchaser’s ID as set by a vendor of digital media, along with metadata either derivable from the media itself or necessary for its proper behavior are all left intact.

    Availability

    Available in iOS 7.0 and later.