Instance Property


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


@property(nonatomic, copy) SLComposeViewControllerCompletionHandler completionHandler;


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


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


Possible values for the result parameter of the completionHandler property.

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