---
title: name
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uidocumentinteractioncontroller/name
---

# name

The name of the target file.

## Declaration

```swift
var name: String? { get set }
```

## Discussion

Discussion This property contains the filename without any preceding path information. The default value of this property is derived from the path information in the url property. You can change the value of this property as needed if you want to associate a different name with the file.

## See Also

### Accessing the target document’s attributes

- [url](uikit/uidocumentinteractioncontroller/url.md)
- [uti](uikit/uidocumentinteractioncontroller/uti.md)
- [icons](uikit/uidocumentinteractioncontroller/icons.md)
- [annotation](uikit/uidocumentinteractioncontroller/annotation.md)
