The filename for the asset resource being created.
- iOS 9+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 10+
You can use this property to track the original name of the file from which you import an asset resource even if you use the
add method to create a resource from data instead of from a file. After creating the asset, this information is available in the
original property of the corresponding
If you do not specify a value for this property and are using the
add method to create a resource, Photos infers the filename from that method’s
file parameter. Otherwise, Photos automatically generates a filename.