Instance Method

cancel()

Starts the animated dismissal of the compose view.

Declaration

func cancel()

Discussion

When the cancel animation finishes, this method calls didSelectCancel(). A subclass shouldn’t need to override cancel. In rare cases a subclass may call cancel, such as in response to a catastrophic failure during user interaction with the compose view.

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