Called when the user attempts to select more than the permitted number of contacts in the contacts display. This is useful when wanting to display a custom message in this case, rather than using the built-in display of the selectionLimitMessage
.
The parameters passed to the function are:
selectedCount
is the number of currently selected contacts in the picker.message
is the value ofselectionLimitMessage
or the default message provided by the Contact Picker.