---
title: TVMonogramContentView
framework: tvuikit
role: symbol
role_heading: Class
path: tvuikit/tvmonogramcontentview
---

# TVMonogramContentView

A view that contains a circular image of a person or the person’s initials.

## Declaration

```swift
class TVMonogramContentView
```

## Overview

Overview The system provides a generic placeholder image if image is nil. If personNameComponents isn’t nil, the system creates a localized monogram image using the first initials from the name components.

The following code illustrates how to update the configuration for a monogram: override func updateConfiguration(using state: UICellConfigurationState) {     var configuration = TVMonogramContentConfiguration().updatedConfiguration(for: state)

configuration.image = avatarImage     configuration.text = "Anne Johnson"     configuration.secondaryText = "Actor"     configuration.personNameComponents = nameComponents

self.contentConfiguration = configuration }

## Topics

### Creating a Monogram Content View

- [init(configuration:)](tvuikit/tvmonogramcontentview/init(configuration:).md)
- [TVMonogramContentConfiguration](tvuikit/tvmonogramcontentconfiguration-swift.struct.md)

### Managing the Content Layout

- [focusedFrameGuide](tvuikit/tvmonogramcontentview/focusedframeguide.md)

## Relationships

### Inherits From

- [UIView](uikit/uiview.md)

### Conforms To

- [CALayerDelegate](quartzcore/calayerdelegate.md)
- [CLBodyIdentifiable](corelocation/clbodyidentifiable.md)
- [CVarArg](swift/cvararg.md)
- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [UIAccessibilityIdentification](uikit/uiaccessibilityidentification.md)
- [UIActivityItemsConfigurationProviding](uikit/uiactivityitemsconfigurationproviding.md)
- [UIAppearance](uikit/uiappearance.md)
- [UIAppearanceContainer](uikit/uiappearancecontainer.md)
- [UIContentView](uikit/uicontentview-5fh3z.md)
- [UICoordinateSpace](uikit/uicoordinatespace.md)
- [UIDynamicItem](uikit/uidynamicitem.md)
- [UIFocusEnvironment](uikit/uifocusenvironment.md)
- [UIFocusItem](uikit/uifocusitem.md)
- [UIFocusItemContainer](uikit/uifocusitemcontainer.md)
- [UIPopoverPresentationControllerSourceItem](uikit/uipopoverpresentationcontrollersourceitem.md)
- [UIResponderStandardEditActions](uikit/uiresponderstandardeditactions.md)
- [UITraitChangeObservable](uikit/uitraitchangeobservable-67e94.md)
- [UITraitEnvironment](uikit/uitraitenvironment.md)
- [UIUserActivityRestoring](uikit/uiuseractivityrestoring.md)

## See Also

### Content views

- [TVMediaItemContentView](tvuikit/tvmediaitemcontentview.md)
