onSelectionLimitReached(selectedCount, message)

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 of selectionLimitMessage or the default message provided by the Contact Picker.

Try CloudSponge for free in your
testing environment

Get Started

Have a questions or prefer a guided tour?
Schedule a consultation with our Founder.