Contents

cancelRequest(withError:)

Cancels the request.

Declaration

func cancelRequest(withError error: any Error)

Parameters

Mentioned in

Discussion

Call this method if the user cancels the action or if a failure occurs. The system dismisses your extension’s view controller automatically.