Dismisses the extension and marks it for termination.
- iOS 10.0+
Call this method to dismiss the extension. The system displays the keyboard if there is any content in the Messages app’s input field. If the input field is empty, the system dismisses the keyboard entirely.