Contents

creationDate

A metadata item that indicates the creation date of an asset.

Declaration

static var creationDate: AVAsyncProperty<Root, AVMetadataItem?> { get }

Discussion

Use the load(_:isolation:) method to retrieve the property value.

If the asset stores a creation date in a form the system can convert to an NSDate, the metadata item’s dateValue property contains a valid date. Otherwise, the creation date is available only as a string that you retrieve by calling the metadata item’s stringValue property.

This property may be nil.

See Also

Loading metadata