<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accessibility",
  "identifier" : "/documentation/Accessibility/AXCustomContent/init(label:value:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Accessibility"
    ],
    "preciseIdentifier" : "c:objc(cs)AXCustomContent(cm)customContentWithLabel:value:"
  },
  "title" : "init(label:value:)"
}
-->

# init(label:value:)

Creates new custom content with a label and value.

```
convenience init(label: String, value: String)
```

## Parameters

`label`

A localized string that identifies the label for this content.

`value`

A localized string that provides a value for the label.

---

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)