<!--
{
  "availability" : [
    "tvOS: 9.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVInterfaceCreating/makeView(element:existingView:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:objc(pl)TVInterfaceCreating(im)viewForElement:existingView:"
  },
  "title" : "makeView(element:existingView:)"
}
-->

# makeView(element:existingView:)

Returns a view for a view element.

```
optional func makeView(element: TVViewElement, existingView: UIView?) -> UIView?
```

## Parameters

`element`

The view element requesting a new view.

`existingView`

The current view.

## Return Value

The new view associated with the view element. If the app doesn’t handle the event, you must return `nil`.

## Discussion

When possible, update the view contained in the `existingView` parameter instead of creating a new view. However, if the existing view is an instance of <doc://com.apple.documentation/documentation/UIKit/UICollectionViewCell>, you must configure the cell instead of creating a new instance.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)