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,falseotherwise. - index:
The index location of the subitem.