Contents

init(string:)

Creates a badge with the provided custom string.

Declaration

init(string: String)

Parameters

  • string:

    The string label that displays when the badge appears.

See Also

Creating menu item badges