selectedRow(inComponent:)
Returns the index of the selected row in a given component.
Declaration
func selectedRow(inComponent component: Int) -> IntParameters
- component:
A zero-indexed number identifying a component of the picker view.
Return Value
A zero-indexed number identifying the selected row, or -1 if no row is selected.