<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "tvOS: 14.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICellAccessory-swift.struct/LabelOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit15UICellAccessoryV12LabelOptionsV"
  },
  "title" : "UICellAccessory.LabelOptions"
}
-->

# UICellAccessory.LabelOptions

Configuration options for a label accessory.

```
struct LabelOptions
```

## Topics

### Creating configuration options

[`init(isHidden: Bool?, reservedLayoutWidth: UICellAccessory.LayoutDimension?, tintColor: UIColor?, font: UIFont?, adjustsFontForContentSizeCategory: Bool?)`](/documentation/UIKit/UICellAccessory-swift.struct/LabelOptions/init(isHidden:reservedLayoutWidth:tintColor:font:adjustsFontForContentSizeCategory:))

Creates a label accessory options structure.

### Accessing configuration options

[`var isHidden: Bool`](/documentation/UIKit/UICellAccessory-swift.struct/LabelOptions/isHidden)

A Boolean value that determines whether the cell hides the accessory.

[`var reservedLayoutWidth: UICellAccessory.LayoutDimension`](/documentation/UIKit/UICellAccessory-swift.struct/LabelOptions/reservedLayoutWidth)

The layout width that the system reserves for the accessory, and then centers the accessory within.

[`var tintColor: UIColor?`](/documentation/UIKit/UICellAccessory-swift.struct/LabelOptions/tintColor)

The tint color to apply to the accessory.

[`var font: UIFont`](/documentation/UIKit/UICellAccessory-swift.struct/LabelOptions/font)

The font for the label.

[`var adjustsFontForContentSizeCategory: Bool`](/documentation/UIKit/UICellAccessory-swift.struct/LabelOptions/adjustsFontForContentSizeCategory)

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



---

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)