Contents

creationDate

A metadata item that indicates the asset’s creation date.

Declaration

var creationDate: AVMetadataItem? { get }

Discussion

If the asset contains metadata that the framework can convert to an NSDate, you can retrieve it from the metadata item using its dateValue property. Otherwise, you retrieve it as a string by using the metadata item’s stringValue property.

This property value is nil if no creation date metadata exists.

See Also

Accessing metadata