disbursementContactInvalidError(withContactField:localizedDescription:)
Creates a recipient contact error with the supplied field.
Declaration
class func disbursementContactInvalidError(withContactField field: PKContactField, localizedDescription: String?) -> any ErrorParameters
- field:
The Pkcontactfield that contains the error.
- localizedDescription:
An optional localized description that the framework displays to the individual.
Return Value
An NSError object.
Discussion
There’s limited display space available for descriptions, so keep your messages concise.