Class

SLComposeSheetConfigurationItem

The SLComposeSheetConfigurationItem class helps you give users ways to configure the properties of a post before posting it. For example, you can use SLComposeSheetConfigurationItem objects to let users choose an account to post from, an album to post to, or a location to add to a post.

Overview

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.

Topics

Responding to User Interaction

var tapHandler: SLComposeSheetConfigurationItemTapHandler!

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

Specifying Configuration Information

var title: String!

The name of the configuration item as a localized string.

var value: String!

The current value or setting of the configuration item.

var valuePending: Bool

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

Getting a Configuration Item

init!()

Returns a configuration item.

Constants

typealias SLComposeSheetConfigurationItemTapHandler

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

Relationships

Inherits From

Conforms To