<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Social",
  "identifier" : "/documentation/Social/SLComposeSheetConfigurationItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Social"
    ],
    "preciseIdentifier" : "c:objc(cs)SLComposeSheetConfigurationItem"
  },
  "title" : "SLComposeSheetConfigurationItem"
}
-->

# SLComposeSheetConfigurationItem

An object that provides additional configuration details to use when configuring a composition interface.

```
class SLComposeSheetConfigurationItem
```

## Overview

The [`SLComposeSheetConfigurationItem`](/documentation/Social/SLComposeSheetConfigurationItem) class gives users a way to configure the properties of a post before posting it. For example, you can use these objects to let users choose an account from which to post, an album to which to post, or a location to add to a post.

To provide support for post configurations in your [`SLComposeServiceViewController`](/documentation/Social/SLComposeServiceViewController) view, create as many configuration items as you need, place them in an array, and return the array in your implementation of `configurationItems`. Note that only one configuration item can be displayed at a time.

## Topics

### Creating a Configuration Item

[`-  init`](/documentation/Social/SLComposeSheetConfigurationItem/init())

Returns a configuration item.

### Responding to User Interaction

[`tapHandler`](/documentation/Social/SLComposeSheetConfigurationItem/tapHandler)

A custom tap handler block that handles user interaction with a configuration item.

[`SLComposeSheetConfigurationItemTapHandler`](/documentation/Social/SLComposeSheetConfigurationItemTapHandler)

The method signature for a configuration item’s tap handler block.

### Specifying Configuration Information

[`title`](/documentation/Social/SLComposeSheetConfigurationItem/title)

The name of the configuration item stored as a localized string.

[`value`](/documentation/Social/SLComposeSheetConfigurationItem/value)

The current value or setting of the configuration item.

[`valuePending`](/documentation/Social/SLComposeSheetConfigurationItem/valuePending)

A Boolean value that indicates whether the configuration item’s value is ready for display.

## Relationships

### Conforms To

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

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.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)