---
title: loadView()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/nstextattachmentviewprovider/loadview()
---

# loadView()

Draws the custom view hierarchy that text attachment view subclasses implement.

## Declaration

```swift
func loadView()
```

## Discussion

Discussion Use this method to create a custom view hierarchy. Don’t call this method directly, the framework calls it at the appropriate time.
