Instance Property


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


var completionHandler: SLComposeViewControllerCompletionHandler! { get set }


The handler has a single parameter that indicates whether the user finished or cancelled composing the post. This block is not guaranteed to be called on any particular thread. Do not dismiss the SLComposeViewController in your completion handler—the system will do so automatically.

See Also

Processing the Results

typealias SLComposeViewControllerCompletionHandler

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

enum SLComposeViewControllerResult

Possible values for the result parameter of the completionHandler property.