Contents

segmentIndex(identifiedBy:)

The index of a segment with an action that has an identifier matching the identifier you specify.

Declaration

func segmentIndex(identifiedBy actionIdentifier: UIAction.Identifier) -> Int

Parameters

Return Value

The index of the segment with an action that has a matching identifier, or NSNotFound if no matching action is found.

See Also

Managing segments