<!--
{
  "availability" : [
    "tvOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TVUIKit",
  "identifier" : "/documentation/TVUIKit/TVMediaItemContentView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "TVUIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TVMediaItemContentView"
  },
  "title" : "TVMediaItemContentView"
}
-->

# TVMediaItemContentView

A view that represents media content, such as movies and TV shows.

```
class TVMediaItemContentView
```

## Overview

The following code illustrates how to update the configuration for a wide media item:

```swift
override func updateConfiguration(using state: UICellConfigurationState) {
    var configuration = TVMediaItemContentConfiguration.wideCell().updatedConfiguration(for: state)

    configuration.image = coverArtImage
    configuration.text = // The title of the media content.
    configuration.secondaryText = "S1, E1"
    configuration.playbackProgress = 0.4
    configuration.badgeText = "Live"
    configuration.badgeProperties = TVMediaItemContentConfiguration.BadgeProperties.liveContent()

    self.contentConfiguration = configuration
}
```

## Topics

### Creating a Media Item Content View

[`convenience init(configuration: TVMediaItemContentConfiguration)`](/documentation/TVUIKit/TVMediaItemContentView/init(configuration:))

Creates a media item content view with the configuration you specify.

[`struct TVMediaItemContentConfiguration`](/documentation/TVUIKit/TVMediaItemContentConfiguration-swift.struct)

A content configuration for a media item view.

[`- (instancetype) initWithConfiguration:(TVMediaItemContentConfiguration *) configuration;`](/documentation/TVUIKit/TVMediaItemContentView/initWithConfiguration:)

Creates a media item content view with the configuration you specify.

[`@interface TVMediaItemContentConfiguration : NSObject`](/documentation/TVUIKit/TVMediaItemContentConfiguration-c.class)

A content configuration for a media item view.

### Managing the Content Configuration

[`@property (nonatomic, copy) TVMediaItemContentConfiguration * configuration;`](/documentation/TVUIKit/TVMediaItemContentView/configuration)

The current configuration of the view.

### Managing the Content Layout

[`var focusedFrameGuide: UILayoutGuide`](/documentation/TVUIKit/TVMediaItemContentView/focusedFrameGuide)

A guide for positioning other elements with the content view image’s focused frame.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`Sendable`](/documentation/Swift/Sendable)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`Escapable`](/documentation/Swift/Escapable)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UIContentView-5fh3z`](/documentation/UIKit/UIContentView-5fh3z)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`Copyable`](/documentation/Swift/Copyable)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

### Inherits From

[`UIView`](/documentation/UIKit/UIView)

---

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)