toolPickerWillDismiss(_:)
This is called when the user dismisses the tool picker using a built-in control. This is not called when the tool picker hides from a responder change or other programatic request. By default, using the dismissal control on the tool picker causes the tool picker to resign the first responder. The delegate may override that default behavior, taking responsibility for the dismissal of the picker, by returning true from this method.
Declaration
optional func toolPickerWillDismiss(_ toolPicker: PKToolPicker) -> Bool