setBadgeText(_:)
Sets the badge text for the toolbar item.
Declaration
func setBadgeText(_ badgeText: String?)Parameters
- badgeText:
String to display on the badge. Pass
nilto remove the badge.
Sets the badge text for the toolbar item.
func setBadgeText(_ badgeText: String?)String to display on the badge. Pass nil to remove the badge.