---
title: "updateAttachments(fromPath:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsmutableattributedstring/updateattachments(frompath:)"
---

# updateAttachments(fromPath:)

Updates all attachments based on files contained in the RTFD file package at the specified file path.

## Declaration

```swift
func updateAttachments(fromPath path: String)
```

## Parameters

- `path`: The path to the file package.

## See Also

### Related Documentation

- [update(fromPath:)](foundation/filewrapper/update(frompath:).md)
