<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICellAccessoryLabel",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICellAccessoryLabel"
  },
  "title" : "UICellAccessoryLabel"
}
-->

# UICellAccessoryLabel

The label system accessory.

```
@interface UICellAccessoryLabel : UICellAccessory
```

## Overview

A label cell accessory appears on the trailing edge of the cell. Use this cell accessory to display a short string of text, like a small number showing the count for the associated item.

## Topics

### Creating configuration options

[`- (instancetype) initWithText:(NSString *) text;`](/documentation/UIKit/UICellAccessoryLabel/initWithText:)

Creates a label accessory with the specified text.

[`- (instancetype) initWithCoder:(NSCoder *) coder;`](/documentation/UIKit/UICellAccessoryLabel/initWithCoder:)

Creates a label accessory from data in an unarchiver.

### Accessing configuration options

[`@property (nonatomic, copy, readonly) NSString * text;`](/documentation/UIKit/UICellAccessoryLabel/text)

The text for the label to display.

[`@property (nonatomic, strong) UIFont * font;`](/documentation/UIKit/UICellAccessoryLabel/font)

The font for the label.

[`@property (nonatomic) BOOL adjustsFontForContentSizeCategory;`](/documentation/UIKit/UICellAccessoryLabel/adjustsFontForContentSizeCategory)

A Boolean value that determines whether the label automatically adjusts its font according to the content size category.

## Relationships

### Inherits From

[`UICellAccessory-c.class`](/documentation/UIKit/UICellAccessory-c.class)

---

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)