Type Alias

SLComposeViewControllerCompletionHandler

Defines a handler to call when the user finishes composing a post.

Declaration

typedef void (^SLComposeViewControllerCompletionHandler)(SLComposeViewControllerResult result);

Discussion

The completion handler is called while the SLComposeViewController is still visible and it is responsible for dismissing the view controller. For the possible values of the result parameter, see SLComposeViewControllerResult. Use the completionHandler property to set this handler.

See Also

Processing the Results

completionHandler

The handler to call when the user is done composing a post.

SLComposeViewControllerResult

Possible values for the result parameter of the completionHandler property.