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


@interface SLComposeSheetConfigurationItem : NSObject


The 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 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.


Creating a Configuration Item

- init

Returns a configuration item.

Responding to User Interaction


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


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

Specifying Configuration Information


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


The current value or setting of the configuration item.


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


Inherits From

See Also

Configuring the Post Details

- configurationItems

Returns configuration items to display in the compose view.

- reloadConfigurationItems

Reloads the list of configuration items.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software