---
title: tracksTextAttachmentViewBounds
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nstextattachmentviewprovider/trackstextattachmentviewbounds
---

# tracksTextAttachmentViewBounds

A Boolean value that determines the text attachment’s bounds policy.

## Declaration

```swift
var tracksTextAttachmentViewBounds: Bool { get set }
```

## Discussion

Discussion If true, the framework calls the textAttachment property’s attachmentBounds(for:location:textContainer:proposedLineFragment:position:) method and examines the text attachment view provider to determine the bounds instead of using the bounds property of this instance. Defaults to false.

## See Also

### Defining the contents

- [location](uikit/nstextattachmentviewprovider/location.md)
- [textAttachment](uikit/nstextattachmentviewprovider/textattachment.md)
- [textLayoutManager](uikit/nstextattachmentviewprovider/textlayoutmanager.md)
- [view](uikit/nstextattachmentviewprovider/view.md)
