completeRequest(withTextToInsert:completionHandler:)
Provides the user-selected text.
Declaration
func completeRequest(withTextToInsert text: String, completionHandler: (@Sendable (Bool) -> Void)? = nil)func completeRequest(withTextToInsert text: String) async -> BoolParameters
- text:
The text to insert.
- completionHandler:
Optional work that the extension performs as a background-priority task after the request completes. The
expiredparameter isYESif the system prematurely terminates a previous non-expiration invocation of thecompletionHandler.
Overview
At some point after you call this method, the system dismisses the associated view controller.