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) -> IntParameters
- actionIdentifier:
The Identifier Swift.struct to match.
Return Value
The index of the segment with an action that has a matching identifier, or NSNotFound if no matching action is found.