Contents

indexOfTabViewItem(withIdentifier:)

Returns the index of the item that matches the specified identifier or NSNotFound if the item is not found.

Declaration

func indexOfTabViewItem(withIdentifier identifier: Any) -> Int

Parameters

  • identifier:

    The identifier of a tab view item.

Return Value

The zero-based index of the tab view item corresponding to identifier, or NSNotFound if the item is not found.

Discussion

The returned index is zero-based.

See Also

Related Documentation

Accessing Tabs