---
title: originalFilename
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetresource/originalfilename
---

# originalFilename

The original filename of the asset resource from when it was created or imported.

## Declaration

```swift
var originalFilename: String { get }
```

## See Also

### Inspecting an Asset Resource

- [type](photos/phassetresource/type.md)
- [PHAssetResourceType](photos/phassetresourcetype.md)
- [contentType](photos/phassetresource/contenttype.md)
- [assetLocalIdentifier](photos/phassetresource/assetlocalidentifier.md)
- [uniformTypeIdentifier](photos/phassetresource/uniformtypeidentifier.md)
- [pixelHeight](photos/phassetresource/pixelheight.md)
- [pixelWidth](photos/phassetresource/pixelwidth.md)
