Contents

setSelected(_:at:)

Sets the selected state of a subitem in a grouped toolbar item.

Declaration

func setSelected(_ selected: Bool, at index: Int)

Parameters

  • selected:

    If true, indicates whether to select a subitem, false otherwise.

  • index:

    The index location of the subitem.

See Also

Working with subitems